From c55f8b96c9477c21b2d5033050d386a3d5a6807c Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Thu, 13 Dec 2001 16:27:39 +0000 Subject: [PATCH] MFB --- ext/mcrypt/mcrypt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c index c44f059eccfb..f74ad281ce22 100644 --- a/ext/mcrypt/mcrypt.c +++ b/ext/mcrypt/mcrypt.c @@ -253,8 +253,10 @@ PHP_INI_END() static void php_mcrypt_module_dtor(zend_rsrc_list_entry *rsrc) { +#if HAVE_LIBMCRYPT24 MCRYPT td = (MCRYPT) rsrc->ptr; mcrypt_module_close (td); +#endif }