cvs: php-src /ext/date/lib timelib.c
| From: | Ilia Alshanetsky | Date: | Wed, 17 Dec 2008 21:32:40 +0000 |
| Subject: | cvs: php-src /ext/date/lib timelib.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-54985@lists.php.net to get a copy of this message | ||
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;
}