[asterisk-commits] file: trunk r409423 - in /trunk: ./ res/res_stasis_recording.c

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


Author: file
Date: Mon Mar  3 13:44:58 2014
New Revision: 409423

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

Merged revisions 409422 from http://svn.asterisk.org/svn/asterisk/branches/12

Modified:
    trunk/   (props changed)
    trunk/res/res_stasis_recording.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.

Modified: trunk/res/res_stasis_recording.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_stasis_recording.c?view=diff&rev=409423&r1=409422&r2=409423
==============================================================================
--- trunk/res/res_stasis_recording.c (original)
+++ trunk/res/res_stasis_recording.c Mon Mar  3 13:44:58 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