From: Ilia Alshanetsky Date: Fri, 16 May 2003 15:13:57 +0000 (+0000) Subject: MFH X-Git-Tag: BEFORE_FD_REVERT~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=129d6e940f19419e54dfddaa48a8ebe358dc2ef0;p=php MFH --- diff --git a/ext/standard/browscap.c b/ext/standard/browscap.c index b93b05c6e3..d438b5d091 100644 --- a/ext/standard/browscap.c +++ b/ext/standard/browscap.c @@ -157,6 +157,8 @@ PHP_MINIT_FUNCTION(browscap) } fh.handle.fp = VCWD_FOPEN(browscap, "r"); + fh.opened_path = NULL; + fh.free_filename = 0; if (!fh.handle.fp) { php_error_docref(NULL TSRMLS_CC, E_CORE_WARNING, "Cannot open '%s' for reading", browscap); return FAILURE;