summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/php_pdo_dblib_int.h
diff options
context:
space:
mode:
authorAdam Baratz <adambaratz@php.net>2016-09-13 16:43:30 -0400
committerAdam Baratz <adambaratz@php.net>2016-09-13 16:43:30 -0400
commit69eef8c361c930d406254db16d0479fa74075e92 (patch)
treeec0dbc5dead1509496f1582c3561b72bd2496d91 /ext/pdo_dblib/php_pdo_dblib_int.h
parentefadcb0390c3ef1ad0b3c445f886dc697bae44a7 (diff)
downloadphp-git-69eef8c361c930d406254db16d0479fa74075e92.tar.gz
Free error and message strings when cleaning up PDO instances that use pdo_dblib
Diffstat (limited to 'ext/pdo_dblib/php_pdo_dblib_int.h')
-rw-r--r--ext/pdo_dblib/php_pdo_dblib_int.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_dblib/php_pdo_dblib_int.h b/ext/pdo_dblib/php_pdo_dblib_int.h
index 87a0038ef4..01c538eed7 100644
--- a/ext/pdo_dblib/php_pdo_dblib_int.h
+++ b/ext/pdo_dblib/php_pdo_dblib_int.h
@@ -108,6 +108,8 @@ typedef struct {
char *lastmsg;
} pdo_dblib_err;
+void pdo_dblib_err_dtor(pdo_dblib_err *err);
+
typedef struct {
LOGINREC *login;
DBPROCESS *link;