Changeset 1655 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
- Timestamp:
- Jan 2, 2008 8:27:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r1622 r1655 865 865 pjsua_acc *acc; 866 866 pj_str_t contact; 867 char contact_buf[1024];868 867 pj_pool_t *pool; 869 868 pj_status_t status; … … 894 893 } 895 894 896 pool = pj _pool_create_on_buf(NULL, contact_buf, sizeof(contact_buf));895 pool = pjsua_pool_create("tmpregc", 512, 512); 897 896 status = pjsua_acc_create_uac_contact( pool, &contact, 898 897 acc_id, &acc->cfg.reg_uri); … … 902 901 status); 903 902 pjsip_regc_destroy(acc->regc); 903 pj_pool_release(pool); 904 904 acc->regc = NULL; 905 905 return status; … … 917 917 status); 918 918 pjsip_regc_destroy(acc->regc); 919 pj_pool_release(pool); 919 920 acc->regc = NULL; 920 921 return status; … … 953 954 pjsip_generic_string_hdr *h; 954 955 955 pool = pj_pool_create_on_buf(NULL, contact_buf, sizeof(contact_buf));956 956 pj_list_init(&hdr_list); 957 957 … … 962 962 pjsip_regc_add_headers(acc->regc, &hdr_list); 963 963 } 964 965 pj_pool_release(pool); 964 966 965 967 return PJ_SUCCESS;
Note: See TracChangeset
for help on using the changeset viewer.