[asterisk-commits] diruggles: branch 1.8 r309403 - in /branches/1.8: ./ apps/app_externalivr.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 3 19:50:49 CST 2011


Author: diruggles
Date: Thu Mar  3 19:50:44 2011
New Revision: 309403

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309403
Log:
Merged revisions 309356 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r309356 | diruggles | 2011-03-03 19:42:28 -0500 (Thu, 03 Mar 2011) | 16 lines
  
  Merged revisions 309355 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r309355 | diruggles | 2011-03-03 19:34:13 -0500 (Thu, 03 Mar 2011) | 9 lines
    
    fix small memory leak
    
    fix small memory leak caused by a string allocation that wasn't freed
    
    (closes issue #18907)
    Reported by: andy11
    Patches: 
          asterisk_trunk-app_externalivr-leak.patch uploaded by andy11 (license 1224)
  ........
................

Modified:
    branches/1.8/   (props changed)
    branches/1.8/apps/app_externalivr.c

Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.

Modified: branches/1.8/apps/app_externalivr.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/apps/app_externalivr.c?view=diff&rev=309403&r1=309402&r2=309403
==============================================================================
--- branches/1.8/apps/app_externalivr.c (original)
+++ branches/1.8/apps/app_externalivr.c Thu Mar  3 19:50:44 2011
@@ -162,6 +162,7 @@
 
 	fprintf(handle, "%s\n", ast_str_buffer(tmp));
 	ast_debug(1, "sent '%s'\n", ast_str_buffer(tmp));
+	ast_free(tmp);
 }
 
 static void *gen_alloc(struct ast_channel *chan, void *params)




More information about the asterisk-commits mailing list