[asterisk-commits] tilghman: trunk r114692 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Apr 26 10:08:52 CDT 2008


Author: tilghman
Date: Sat Apr 26 10:08:51 2008
New Revision: 114692

URL: http://svn.digium.com/view/asterisk?view=rev&rev=114692
Log:
Unleak reference

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=114692&r1=114691&r2=114692
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sat Apr 26 10:08:51 2008
@@ -13330,6 +13330,7 @@
 	load_realtime = (argc == 5 && !strcmp(argv[4], "load")) ? TRUE : FALSE;
 	if ((peer = find_peer(argv[3], NULL, load_realtime))) {
 		sip_poke_peer(peer, 1);
+		unref_peer(peer, "qualify: done with peer");
 	} else if (type == 0) {
 		ast_cli(fd, "Peer '%s' not found\n", argv[3]);
 	} else {




More information about the asterisk-commits mailing list