iliaa Wed Dec 17 21:32:40 2008 UTC
Modified files:
/php-src/ext/date/lib timelib.c
Log:
MFB: Fix a small portion of memory leak in bug #46889
http://cvs.php.net/viewvc.cgi/php-src/ext/date/lib/timelib.c?r1=1.23&r2=1.24&diff_format=u
Index: php-src/ext/date/lib/timelib.c
diff -u php-src/ext/date/lib/timelib.c:1.23 php-src/ext/date/lib/timelib.c:1.24
--- php-src/ext/date/lib/timelib.c:1.23 Sun May 4 20:50:46 2008
+++ php-src/ext/date/lib/timelib.c Wed Dec 17 21:32:40 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: timelib.c,v 1.23 2008/05/04 20:50:46 derick Exp $ */
+/* $Id: timelib.c,v 1.24 2008/12/17 21:32:40 iliaa Exp $ */
#include "timelib.h"
#include <ctype.h>
@@ -133,6 +133,7 @@
TIMELIB_TIME_FREE(tz->type);
TIMELIB_TIME_FREE(tz->timezone_abbr);
TIMELIB_TIME_FREE(tz->leap_times);
+ TIMELIB_TIME_FREE(tz->location.comments);
TIMELIB_TIME_FREE(tz);
tz = NULL;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php