[svn-commits] rizzo: branch rizzo/astobj2 r47517 - /team/rizzo/astobj2/main/astobj2.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Nov 12 11:56:40 MST 2006


Author: rizzo
Date: Sun Nov 12 12:56:39 2006
New Revision: 47517

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47517
Log:
backtrace_symbols allocates memory, so free it.

Reported by: marta carbone


Modified:
    team/rizzo/astobj2/main/astobj2.c

Modified: team/rizzo/astobj2/main/astobj2.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/astobj2/main/astobj2.c?view=diff&rev=47517&r1=47516&r2=47517
==============================================================================
--- team/rizzo/astobj2/main/astobj2.c (original)
+++ team/rizzo/astobj2/main/astobj2.c Sun Nov 12 12:56:39 2006
@@ -83,6 +83,7 @@
     for(i = 0; i < c; i++) {
         ast_verbose("%d: %p %s\n", i, addresses[i], strings[i]);
     }
+    free(strings);
 }
 #endif
 /*



More information about the svn-commits mailing list