summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8.c
diff options
context:
space:
mode:
authorChristopher Jones <christopher.jones@oracle.com>2015-09-14 13:29:09 +1000
committerChristopher Jones <christopher.jones@oracle.com>2015-09-14 13:29:09 +1000
commit145708b658d0a60b738dde1a942dea9032f2f54e (patch)
tree6bb3fe7a3e7b6765feddafe1b4c0710ef0686256 /ext/oci8/oci8.c
parent3c2d6f7f4002b666740b1eba2d45f866f36d6dda (diff)
downloadphp-git-145708b658d0a60b738dde1a942dea9032f2f54e.tar.gz
Fix mem leak in PHP7
Diffstat (limited to 'ext/oci8/oci8.c')
-rw-r--r--ext/oci8/oci8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 9144d48baf..01b2414a9e 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -2748,6 +2748,7 @@ void php_oci_fetch_row (INTERNAL_FUNCTION_PARAMETERS, int mode, int expected_arg
placeholder = Z_REFVAL_P(array);
else
placeholder = array;
+ zval_dtor(placeholder);
} else {
placeholder = return_value;
}