From 84f20dc212e18c34e60ede87a756dd95f56531f1 Mon Sep 17 00:00:00 2001 From: Xinchen Hui <laruence@gmail.com> Date: Wed, 5 Mar 2014 22:19:02 +0800 Subject: [PATCH] Invalid free of args("+") --- Zend/zend_API.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 4362c15178d..8372e10d34c 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -939,7 +939,6 @@ static int zend_parse_va_args(int num_args, const char *type_spec, va_list *va, if (zend_parse_arg(i+1, arg, va, &type_spec, quiet TSRMLS_CC) == FAILURE) { /* clean up varargs array if it was used */ if (varargs && *varargs) { - efree(*varargs); *varargs = NULL; } return FAILURE;