From 2514bcfdec8eb6d8a41190ecbf0873fc2abe7c8c Mon Sep 17 00:00:00 2001 From: "Yiduo (David) Wang" Date: Mon, 8 Oct 2007 04:05:22 +0000 Subject: [PATCH] stmt->fetch.func.values is not a zval and should not be freed with FREE_ZVAL --- ext/pdo/pdo_stmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 72ae4a5c5a..c33b4a1d30 100755 --- a/ext/pdo/pdo_stmt.c +++ b/ext/pdo/pdo_stmt.c @@ -845,7 +845,7 @@ static int do_fetch_opt_finish(pdo_stmt_t *stmt, int free_ctor_agrs TSRMLS_DC) / stmt->fetch.cls.fci.param_count = 0; } if (stmt->fetch.func.values) { - FREE_ZVAL(stmt->fetch.func.values); + efree(stmt->fetch.func.values); stmt->fetch.func.values = NULL; } return 1; -- 2.50.1