From: Marcus Boerger Date: Thu, 19 Aug 2004 08:04:20 +0000 (+0000) Subject: Fix issue in test X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba75dd7877c69306799fa0501e8845c4cce8a718;p=php Fix issue in test --- diff --git a/ext/dba/tests/dba_handler.inc b/ext/dba/tests/dba_handler.inc index 9a25316f27..c1e3c49c70 100644 --- a/ext/dba/tests/dba_handler.inc +++ b/ext/dba/tests/dba_handler.inc @@ -74,6 +74,9 @@ do { dba_close($dba_reader); } if (($db_file = dba_popen($db_filename, 'r'.($handler!='gdbm'?'-':''), $handler))!==FALSE) { + if ($handler == 'dbm') { + dba_close($db_file); + } } if ($lock_flag == '') {