diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/oci8/oci8.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 231e7b24d0..48c8c923ce 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -1636,7 +1636,9 @@ int php_oci_column_to_zval(php_oci_out_column *column, zval *value, int mode TSR /* PHP_OCI_RETURN_LOBS means that we want the content of the LOB back instead of the locator */ lob_fetch_status = php_oci_lob_read(descriptor, -1, 0, &lob_buffer, &lob_length TSRMLS_CC); +#ifdef HAVE_OCI8_TEMP_LOB php_oci_temp_lob_close(descriptor); +#endif if (lob_fetch_status) { ZVAL_FALSE(value); return 1; |
