1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 10:12:18 +01:00

stmt->fetch.func.values is not a zval and should not be freed with FREE_ZVAL

This commit is contained in:
Yiduo (David) Wang
2007-10-08 04:05:22 +00:00
parent 9c1d7e9ac2
commit 2514bcfdec

View File

@@ -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;