]> granicus.if.org Git - php/commitdiff
plug leak
authorAntony Dovgal <tony2001@php.net>
Fri, 23 Jun 2006 13:53:43 +0000 (13:53 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 23 Jun 2006 13:53:43 +0000 (13:53 +0000)
ext/date/php_date.c

index e236f6651c44647c3e2d8230f34184ef242c57d3..1184a10bc61800601bd0e3e7b2faad55d573daae 100644 (file)
@@ -1084,6 +1084,7 @@ PHP_FUNCTION(strtotime)
        }
 
        if (!time_len) {
+               timelib_time_dtor(now); 
                RETURN_FALSE;
        }