[xiph-commits] r9732 - icecast/trunk/icecast/src

oddsock at svn.xiph.org oddsock at svn.xiph.org
Thu Aug 11 16:17:01 PDT 2005


Author: oddsock
Date: 2005-08-11 16:17:00 -0700 (Thu, 11 Aug 2005)
New Revision: 9732

Modified:
   icecast/trunk/icecast/src/logging.c
Log:
memory leak fix..

Modified: icecast/trunk/icecast/src/logging.c
===================================================================
--- icecast/trunk/icecast/src/logging.c	2005-08-11 23:11:50 UTC (rev 9731)
+++ icecast/trunk/icecast/src/logging.c	2005-08-11 23:17:00 UTC (rev 9732)
@@ -89,7 +89,7 @@
     thetime = localtime(&now);
     strftime (buffer, len-7, "%d/%b/%Y:%H:%M:%S", thetime);
     strcat(buffer, timezone_string);
-
+	free(timezone_string);
     return 1;
 }
 #endif



More information about the commits mailing list