mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-27 21:54:16 +00:00
free handles in error and failure conditions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12701 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
129a20f2d9
commit
de7a9798b6
2 files changed
+9
No files matched your search
@@ -1405,6 +1405,7 @@ static int sofia_presence_mwi_callback2(void *pArg, int argc, char **argv, char
|
||||
}
|
||||
|
||||
nh = nua_handle(profile->nua, NULL, NUTAG_URL(contact), SIPTAG_FROM_STR(id), SIPTAG_TO_STR(id), SIPTAG_CONTACT_STR(h->profile->url), TAG_END());
|
||||
nua_handle_bind(nh, &mod_sofia_globals.destroy_private);
|
||||
|
||||
nua_notify(nh,
|
||||
NUTAG_NEWSUB(1),
|
||||
|
||||
Reference in new issue
Block a user