summaryrefslogtreecommitdiff
path: root/ext/date/php_date.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/php_date.c')
-rw-r--r--ext/date/php_date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c
index ed92dd5f0d..be1df2d81c 100644
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -1738,7 +1738,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
buf = zend_string_truncate(buf, real_len, 0);
RETURN_NEW_STR(buf);
}
- zend_string_free(buf);
+ zend_string_efree(buf);
RETURN_FALSE;
}
/* }}} */