summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-06-23 13:52:53 +0000
committerAntony Dovgal <tony2001@php.net>2006-06-23 13:52:53 +0000
commit770188279ff51a901b0d72e7e60ec3b55a1aa589 (patch)
treea3b4b8caddb19731b8f96172a8279ab75d0a84d3 /ext/date
parenta2b61371cd9f3ef1371aa0cd690e32ee124fb1df (diff)
downloadphp-git-770188279ff51a901b0d72e7e60ec3b55a1aa589.tar.gz
plug leak in my last patch
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/php_date.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index 3982341801..4bbbbdfa17 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -1206,6 +1206,7 @@ PHP_FUNCTION(strtotime)
}
if (!time_len) {
+ timelib_time_dtor(now);
RETURN_FALSE;
}