[asterisk-commits] dvossel: branch russell/messaging r321530 - /team/russell/messaging/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 1 08:51:15 CDT 2011


Author: dvossel
Date: Wed Jun  1 08:51:09 2011
New Revision: 321530

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=321530
Log:
Fixes memory leak in ast_msg destruction.

Modified:
    team/russell/messaging/main/message.c

Modified: team/russell/messaging/main/message.c
URL: http://svnview.digium.com/svn/asterisk/team/russell/messaging/main/message.c?view=diff&rev=321530&r1=321529&r2=321530
==============================================================================
--- team/russell/messaging/main/message.c (original)
+++ team/russell/messaging/main/message.c Wed Jun  1 08:51:09 2011
@@ -337,6 +337,9 @@
 	ast_free(msg->context);
 	msg->context = NULL;
 
+	ast_free(msg->exten);
+	msg->exten = NULL;
+
 	ao2_ref(msg->vars, -1);
 }
 




More information about the asterisk-commits mailing list