summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
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;
}