[svn-commits] jrose: branch 10-digiumphones r370465 - in /branches/10-digiumphones: ./ main/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 24 16:08:30 CDT 2012


Author: jrose
Date: Tue Jul 24 16:08:27 2012
New Revision: 370465

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370465
Log:
Don't attempt free of NULL ptr in pbx.c handle_presencechange

(closes issue AST-921)
Reported by: Guenther Kelleter
Patches:
    nullptr.patch uploaded by Guenther Kelleter (license 6372)


Modified:
    branches/10-digiumphones/   (props changed)
    branches/10-digiumphones/main/pbx.c

Propchange: branches/10-digiumphones/
------------------------------------------------------------------------------
    svn:mergeinfo = /certified/branches/1.8.11:370464

Modified: branches/10-digiumphones/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/10-digiumphones/main/pbx.c?view=diff&rev=370465&r1=370464&r2=370465
==============================================================================
--- branches/10-digiumphones/main/pbx.c (original)
+++ branches/10-digiumphones/main/pbx.c Tue Jul 24 16:08:27 2012
@@ -4805,7 +4805,7 @@
 	res = 0;
 
 presencechange_cleanup:
-	ast_free(hint_app);
+	ast_ref(hint_app, -1);
 	ao2_ref(pc, -1);
 
 	return res;




More information about the svn-commits mailing list