summaryrefslogtreecommitdiff
path: root/main/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/snprintf.c')
-rw-r--r--main/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/snprintf.c b/main/snprintf.c
index 1c73dcdcb7..f26206d851 100644
--- a/main/snprintf.c
+++ b/main/snprintf.c
@@ -783,7 +783,7 @@ static int format_converter(register buffy * odp, const char *fmt, va_list ap) /
switch (*fmt) {
case 'Z':
zvp = (zval*) va_arg(ap, zval*);
- zend_make_printable_zval(zvp, &zcopy, &free_zcopy);
+ free_zcopy = zend_make_printable_zval(zvp, &zcopy);
if (free_zcopy) {
zvp = &zcopy;
}