summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-06-23 13:53:43 +0000
committerAntony Dovgal <tony2001@php.net>2006-06-23 13:53:43 +0000
commit87dd729187fa6a7a0f5c479223485caeb223a192 (patch)
tree44866181f728dd7a3ca16eca516ab83b8759dd10 /ext/date
parentf1d09682fb6df3463ea10bf13c6bfd9ee33dcd5f (diff)
downloadphp-git-87dd729187fa6a7a0f5c479223485caeb223a192.tar.gz
plug leak
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 e236f6651c..1184a10bc6 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -1084,6 +1084,7 @@ PHP_FUNCTION(strtotime)
}
if (!time_len) {
+ timelib_time_dtor(now);
RETURN_FALSE;
}