com php-src: Free the HMODULE handle after use: ext/pdo_fireb ird/firebird_driver.c

From: Date: Fri, 21 Jul 2017 20:22:41 +0000
Subject: com php-src: Free the HMODULE handle after use: ext/pdo_fireb ird/firebird_driver.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98700@lists.php.net to get a copy of this message
Commit: d86a333a43bc16fd4a408df05e1a89fca83f4e2d Author: Kalle Sommer Nielsen <kalle@php.net> Fri, 21 Jul 2017 22:22:41 +0200 Parents: fd29202022ecd952c175a3d1f805678801092be4 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d86a333a43bc16fd4a408df05e1a89fca83f4e2d Log: Free the HMODULE handle after use Changed paths: M ext/pdo_firebird/firebird_driver.c Diff: diff --git a/ext/pdo_firebird/firebird_driver.c b/ext/pdo_firebird/firebird_driver.c index ab2571d..83203d7 100644 --- a/ext/pdo_firebird/firebird_driver.c +++ b/ext/pdo_firebird/firebird_driver.c @@ -545,6 +545,9 @@ static int firebird_handle_get_attribute(pdo_dbh_t *dbh, zend_long attr, zval *v info_func(tmp); ZVAL_STRING(val, tmp); } +#ifdef PHP_WIN32 + FreeLibrary(l); +#endif #else ZVAL_NULL(val); #endif

« previous php.cvs (#98700) next »