[asterisk-commits] dvossel: branch 1.4 r228272 - /branches/1.4/funcs/func_audiohookinherit.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Nov 6 09:07:35 CST 2009


Author: dvossel
Date: Fri Nov  6 09:07:31 2009
New Revision: 228272

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=228272
Log:
fixes memory leak in func_audiohookinherit.c

(closes issue 0015394)
Reported by: boroda
Patches:
      bug15394_memoryleak_diff2.txt uploaded by dbrooks (license 790)
Tested by: dbrooks, boroda


Modified:
    branches/1.4/funcs/func_audiohookinherit.c

Modified: branches/1.4/funcs/func_audiohookinherit.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/funcs/func_audiohookinherit.c?view=diff&rev=228272&r1=228271&r2=228272
==============================================================================
--- branches/1.4/funcs/func_audiohookinherit.c (original)
+++ branches/1.4/funcs/func_audiohookinherit.c Fri Nov  6 09:07:31 2009
@@ -77,6 +77,7 @@
 				audiohook->source, old_chan->name, old_chan, new_chan->name, new_chan);
 		}
 	}
+	ast_free(datastore);
 	return;
 }
 




More information about the asterisk-commits mailing list