diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2017-07-21 22:22:41 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2017-07-21 22:22:41 +0200 |
commit | d86a333a43bc16fd4a408df05e1a89fca83f4e2d (patch) | |
tree | 8427e8b515b1a6dfd23b4b9dea4063bf3115c8e6 /ext/pdo_firebird | |
parent | fd29202022ecd952c175a3d1f805678801092be4 (diff) | |
download | php-git-d86a333a43bc16fd4a408df05e1a89fca83f4e2d.tar.gz |
Free the HMODULE handle after use
Diffstat (limited to 'ext/pdo_firebird')
-rw-r--r-- | ext/pdo_firebird/firebird_driver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/pdo_firebird/firebird_driver.c b/ext/pdo_firebird/firebird_driver.c index ab2571df3d..83203d7804 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 |