iliaa Wed Dec 17 21:32:29 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/date/lib timelib.c
Log:
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.7.2.4.2.6.2.6&r2=1.7.2.4.2.6.2.7&diff_format=u
Index: php-src/ext/date/lib/timelib.c
diff -u php-src/ext/date/lib/timelib.c:1.7.2.4.2.6.2.6
php-src/ext/date/lib/timelib.c:1.7.2.4.2.6.2.7
--- php-src/ext/date/lib/timelib.c:1.7.2.4.2.6.2.6 Sun May 4 20:52:56 2008
+++ php-src/ext/date/lib/timelib.c Wed Dec 17 21:32:29 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: timelib.c,v 1.7.2.4.2.6.2.6 2008/05/04 20:52:56 derick Exp $ */
+/* $Id: timelib.c,v 1.7.2.4.2.6.2.7 2008/12/17 21:32:29 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