diff options
author | Derick Rethans <derick@php.net> | 2009-06-30 16:15:43 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2009-06-30 16:15:43 +0000 |
commit | 7ef811e1df31dec9f695bf256fb1792cd80b9c51 (patch) | |
tree | 98eca8a9fceb77cfbd70a302b670c29e54d7dbdc | |
parent | e15522cb8af2d6c4b3cea5014ddf404300b7cae3 (diff) | |
download | php-git-7ef811e1df31dec9f695bf256fb1792cd80b9c51.tar.gz |
- Fixed bug #47351 (Memory leak in DateTime).
-rw-r--r-- | ext/date/php_date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 507a7875c0..3c7e490951 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2517,7 +2517,7 @@ static int date_initialize(php_date_obj *dateobj, /*const*/ char *time_str, int } timelib_unixtime2local(now, (timelib_sll) time(NULL)); - timelib_fill_holes(dateobj->time, now, 0); + timelib_fill_holes(dateobj->time, now, TIMELIB_NO_CLONE); timelib_update_ts(dateobj->time, tzi); dateobj->time->have_relative = 0; |