summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-05-22 02:13:01 +0000
committerZeev Suraski <zeev@php.net>1999-05-22 02:13:01 +0000
commit87ba08d1d01f607dab1b5b012716bb799bd8c695 (patch)
tree3029e0dd47346afc30b4c6cc9534902ad74277a7 /Zend/zend_compile.h
parent58a0ae7b35138f2eedd122f12438555532ae2c28 (diff)
downloadphp-git-87ba08d1d01f607dab1b5b012716bb799bd8c695.tar.gz
Avoid leaking fd's in case of failures
Diffstat (limited to 'Zend/zend_compile.h')
-rw-r--r--Zend/zend_compile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend_compile.h b/Zend/zend_compile.h
index fde66463fc..f2ea910f07 100644
--- a/Zend/zend_compile.h
+++ b/Zend/zend_compile.h
@@ -342,7 +342,8 @@ ZEND_API zend_op_array *compile_filename(zval *filename CLS_DC);
ZEND_API inline int open_file_for_scanning(zend_file_handle *file_handle CLS_DC);
ZEND_API void init_op_array(zend_op_array *op_array, int initial_ops_size);
ZEND_API void destroy_op_array(zend_op_array *op_array);
-ZEND_API void zend_close_file_handle(zend_file_handle *file_handle);
+ZEND_API void zend_close_file_handle(zend_file_handle *file_handle CLS_DC);
+ZEND_API void zend_open_file_dtor(void *f);
END_EXTERN_C()
ZEND_API void destroy_zend_function(zend_function *function);