Lines Matching refs:fh
202 ZEND_API void zend_file_handle_dtor(zend_file_handle *fh) /* {{{ */ in zend_file_handle_dtor() argument
204 switch (fh->type) { in zend_file_handle_dtor()
206 fclose(fh->handle.fp); in zend_file_handle_dtor()
209 if (fh->handle.stream.closer && fh->handle.stream.handle) { in zend_file_handle_dtor()
210 fh->handle.stream.closer(fh->handle.stream.handle); in zend_file_handle_dtor()
212 fh->handle.stream.handle = NULL; in zend_file_handle_dtor()
220 if (fh->opened_path) { in zend_file_handle_dtor()
221 zend_string_release_ex(fh->opened_path, 0); in zend_file_handle_dtor()
222 fh->opened_path = NULL; in zend_file_handle_dtor()
224 if (fh->buf) { in zend_file_handle_dtor()
225 efree(fh->buf); in zend_file_handle_dtor()
226 fh->buf = NULL; in zend_file_handle_dtor()
228 if (fh->free_filename && fh->filename) { in zend_file_handle_dtor()
229 efree((char*)fh->filename); in zend_file_handle_dtor()
230 fh->filename = NULL; in zend_file_handle_dtor()