summaryrefslogtreecommitdiff
path: root/ext/pdo
diff options
context:
space:
mode:
authorYiduo (David) Wang <davidw@php.net>2007-10-08 04:06:15 +0000
committerYiduo (David) Wang <davidw@php.net>2007-10-08 04:06:15 +0000
commit104290130ee908329113b2d1b54e8435a0ad9f17 (patch)
treebd7312aaf0b779844f7059ead76fad84907f572d /ext/pdo
parentf4f0a474331ac31a14391748446663252a35e8e3 (diff)
downloadphp-git-104290130ee908329113b2d1b54e8435a0ad9f17.tar.gz
MFH: stmt->fetch.func.values is not a zval and should not be freed with FREE_ZVAL
Diffstat (limited to 'ext/pdo')
-rwxr-xr-xext/pdo/pdo_stmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/pdo_stmt.c b/ext/pdo/pdo_stmt.c
index 1c8881ec5a..907b39f9f8 100755
--- a/ext/pdo/pdo_stmt.c
+++ b/ext/pdo/pdo_stmt.c
@@ -879,7 +879,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;