From: Frank M. Kromann Date: Tue, 12 Apr 2005 17:46:06 +0000 (+0000) Subject: MFH: Fix for #32682. Error on module shutdown when called from activescript X-Git-Tag: php-5.0.5RC1~443 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b09e421111dc36ee42498a5a2ec7f7094b40e163;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 36e6647652..122d386de7 100644 --- a/ext/mssql/php_mssql.c +++ b/ext/mssql/php_mssql.c @@ -321,7 +321,11 @@ PHP_MINIT_FUNCTION(mssql) PHP_MSHUTDOWN_FUNCTION(mssql) { UNREGISTER_INI_ENTRIES(); +#ifndef HAVE_FREETDS + dbwinexit(); +#else dbexit(); +#endif return SUCCESS; }