]> granicus.if.org Git - php/commitdiff
MFB
authorSterling Hughes <sterling@php.net>
Thu, 13 Dec 2001 16:27:39 +0000 (16:27 +0000)
committerSterling Hughes <sterling@php.net>
Thu, 13 Dec 2001 16:27:39 +0000 (16:27 +0000)
ext/mcrypt/mcrypt.c

index c44f059eccfb4b8f0a9609b90d482aa0412fc734..f74ad281ce225c3f4f867be8291ab60257c6da60 100644 (file)
@@ -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
 }