[asterisk-commits] phsultan: branch 1.4 r139283 - /branches/1.4/channels/chan_gtalk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Aug 21 05:11:00 CDT 2008
Author: phsultan
Date: Thu Aug 21 05:11:00 2008
New Revision: 139283
URL: http://svn.digium.com/view/asterisk?view=rev&rev=139283
Log:
Apply fix for issue #13310 to branch 1.4, too.
Modified:
branches/1.4/channels/chan_gtalk.c
Modified: branches/1.4/channels/chan_gtalk.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_gtalk.c?view=diff&rev=139283&r1=139282&r2=139283
==============================================================================
--- branches/1.4/channels/chan_gtalk.c (original)
+++ branches/1.4/channels/chan_gtalk.c Thu Aug 21 05:11:00 2008
@@ -1644,6 +1644,7 @@
client->connection = ast_aji_get_client(sender);
if (!client->connection) {
ast_log(LOG_ERROR, "No XMPP client to talk to, us (partial JID) : %s\n", sender);
+ ASTOBJ_UNREF(client, gtalk_member_destroy);
return NULL;
}
}
@@ -1954,6 +1955,7 @@
ASTOBJ_UNLOCK(iterator);
});
ASTOBJ_CONTAINER_LINK(>alk_list, member);
+ ASTOBJ_UNREF(member, gtalk_member_destroy);
} else {
ASTOBJ_UNLOCK(member);
ASTOBJ_UNREF(member, gtalk_member_destroy);
More information about the asterisk-commits
mailing list