diff options
author | Adam Baratz <adambaratz@php.net> | 2016-09-13 16:43:30 -0400 |
---|---|---|
committer | Adam Baratz <adambaratz@php.net> | 2016-09-13 16:43:30 -0400 |
commit | 69eef8c361c930d406254db16d0479fa74075e92 (patch) | |
tree | ec0dbc5dead1509496f1582c3561b72bd2496d91 /ext/pdo_dblib/dblib_driver.c | |
parent | efadcb0390c3ef1ad0b3c445f886dc697bae44a7 (diff) | |
download | php-git-69eef8c361c930d406254db16d0479fa74075e92.tar.gz |
Free error and message strings when cleaning up PDO instances that use pdo_dblib
Diffstat (limited to 'ext/pdo_dblib/dblib_driver.c')
-rw-r--r-- | ext/pdo_dblib/dblib_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_dblib/dblib_driver.c b/ext/pdo_dblib/dblib_driver.c index 13ddd8a472..66e7d79fbd 100644 --- a/ext/pdo_dblib/dblib_driver.c +++ b/ext/pdo_dblib/dblib_driver.c @@ -88,6 +88,7 @@ static int dblib_handle_closer(pdo_dbh_t *dbh) } pefree(H, dbh->is_persistent); dbh->driver_data = NULL; + pdo_dblib_err_dtor(&H->err); } return 0; } |