diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c index 72ae4a5c5a3..c33b4a1d300 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;