From: Frank M. Kromann Date: Tue, 12 Apr 2005 17:46:45 +0000 (+0000) Subject: MFH: Fix for #32682. Error on module shutdown when called from activescript X-Git-Tag: php-4.4.0RC1~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e681512beb141de7f786231a1460bca5f13e1149;p=php MFH: Fix for #32682. Error on module shutdown when called from activescript --- diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c index d6b5a75f16..532e763d6d 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -317,7 +317,11 @@ PHP_MINIT_FUNCTION(mssql) PHP_MSHUTDOWN_FUNCTION(mssql) { UNREGISTER_INI_ENTRIES(); +#ifndef HAVE_FREETDS + dbwinexit(); +#else dbexit(); +#endif return SUCCESS; }