[asterisk-commits] jrose: branch certified-1.8.11 r370464 - /certified/branches/1.8.11/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jul 24 15:57:38 CDT 2012
Author: jrose
Date: Tue Jul 24 15:57:34 2012
New Revision: 370464
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=370464
Log:
Don't attempt free of NULL ptr in pbx.c handle_presencechange
Reported by: Guenther Kelleter
Patches:
nullptr.patch uploaded by Guenther Kelleter (license 6372)
Modified:
certified/branches/1.8.11/main/pbx.c
Modified: certified/branches/1.8.11/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/certified/branches/1.8.11/main/pbx.c?view=diff&rev=370464&r1=370463&r2=370464
==============================================================================
--- certified/branches/1.8.11/main/pbx.c (original)
+++ certified/branches/1.8.11/main/pbx.c Tue Jul 24 15:57:34 2012
@@ -4644,7 +4644,7 @@
res = 0;
presencechange_cleanup:
- ast_free(hint_app);
+ ast_ref(hint_app, -1);
ao2_ref(pc, -1);
return res;
More information about the asterisk-commits
mailing list