From: foobar Date: Fri, 2 Jan 2004 14:09:49 +0000 (+0000) Subject: another ZTS fix X-Git-Tag: php_ibase_before_split~405 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2cf5871377e224ff56d1e58b80ee3b376747482f;p=php another ZTS fix --- diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index a39ac8ee14..3ce3b4939f 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -829,6 +829,8 @@ _oci_define_hash_dtor(void *data) static void _oci_desc_flush_hash_dtor(void *data) { + TSRMLS_FETCH(); + oci_descriptor *descr = *((oci_descriptor **)data); if (descr->buffering == 2 && (descr->type == OCI_DTYPE_LOB || descr->type == OCI_DTYPE_FILE)) { oci_lob_flush(descr,OCI_LOB_BUFFER_FREE TSRMLS_CC);