[svn-commits] seanbright: branch seanbright/cdr-tds-conversion r124832 - /team/seanbright/c...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jun 23 21:40:24 CDT 2008


Author: seanbright
Date: Mon Jun 23 21:40:22 2008
New Revision: 124832

URL: http://svn.digium.com/view/asterisk?view=rev&rev=124832
Log:
Feel free to release the memory we allocated.  Woops.

Modified:
    team/seanbright/cdr-tds-conversion/cdr/cdr_tds.c

Modified: team/seanbright/cdr-tds-conversion/cdr/cdr_tds.c
URL: http://svn.digium.com/view/asterisk/team/seanbright/cdr-tds-conversion/cdr/cdr_tds.c?view=diff&rev=124832&r1=124831&r2=124832
==============================================================================
--- team/seanbright/cdr-tds-conversion/cdr/cdr_tds.c (original)
+++ team/seanbright/cdr-tds-conversion/cdr/cdr_tds.c Mon Jun 23 21:40:22 2008
@@ -200,6 +200,17 @@
 		uniqueid
 	);
 
+	ast_free(accountcode);
+	ast_free(src);
+	ast_free(dst);
+	ast_free(dcontext);
+	ast_free(clid);
+	ast_free(channel);
+	ast_free(dstchannel);
+	ast_free(lastapp);
+	ast_free(lastdata);
+	ast_free(uniqueid);
+
 	if (erc == FAIL) {
 		ast_log(LOG_ERROR, "Failed to build query\n");
 		ast_mutex_unlock(&settings->lock);




More information about the svn-commits mailing list