diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2002-12-15 07:03:32 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2002-12-15 07:03:32 +0000 |
commit | cc4748139ccb05de3e763d215c7ffa92f52e8543 (patch) | |
tree | 3e268c5d70156e2e7b3a750547106b3f1769b55b /ext/yaz/php_yaz.c | |
parent | 078dfe8d57cd32a967b37e3a87390acc662c2bd4 (diff) | |
download | php-git-cc4748139ccb05de3e763d215c7ffa92f52e8543.tar.gz |
Close log file on shutdown.
Diffstat (limited to 'ext/yaz/php_yaz.c')
-rw-r--r-- | ext/yaz/php_yaz.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/yaz/php_yaz.c b/ext/yaz/php_yaz.c index 621179f6aa..8a0630218e 100644 --- a/ext/yaz/php_yaz.c +++ b/ext/yaz/php_yaz.c @@ -1509,6 +1509,10 @@ PHP_MSHUTDOWN_FUNCTION(yaz) #ifdef ZTS tsrm_mutex_free (yaz_mutex); #endif + + if (yaz_log_file()) { + fclose(yaz_log_file()); + } return SUCCESS; } |