[asterisk-commits] file: branch 12 r409422 - /branches/12/res/res_stasis_recording.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 3 13:44:26 CST 2014


Author: file
Date: Mon Mar  3 13:44:20 2014
New Revision: 409422

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409422
Log:
res_stasis_recording: Fix memory leak of the absolute name.

Modified:
    branches/12/res/res_stasis_recording.c

Modified: branches/12/res/res_stasis_recording.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_stasis_recording.c?view=diff&rev=409422&r1=409421&r2=409422
==============================================================================
--- branches/12/res/res_stasis_recording.c (original)
+++ branches/12/res/res_stasis_recording.c Mon Mar  3 13:44:20 2014
@@ -351,6 +351,7 @@
 {
 	struct stasis_app_recording *recording = obj;
 
+	ast_free(recording->absolute_name);
 	ao2_cleanup(recording->options);
 }
 




More information about the asterisk-commits mailing list