]> granicus.if.org Git - php/commitdiff
MFH: Fix for #32682. Error on module shutdown when called from activescript
authorFrank M. Kromann <fmk@php.net>
Tue, 12 Apr 2005 17:46:45 +0000 (17:46 +0000)
committerFrank M. Kromann <fmk@php.net>
Tue, 12 Apr 2005 17:46:45 +0000 (17:46 +0000)
ext/mssql/php_mssql.c

index d6b5a75f164be8d23603cfddc3125f09cdd27e86..532e763d6d2a60e65f6569ed304bc55f8de288fe 100644 (file)
@@ -317,7 +317,11 @@ PHP_MINIT_FUNCTION(mssql)
 PHP_MSHUTDOWN_FUNCTION(mssql)
 {
        UNREGISTER_INI_ENTRIES();
+#ifndef HAVE_FREETDS
+       dbwinexit();
+#else
        dbexit();
+#endif
        return SUCCESS;
 }