summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-12-13 16:27:39 +0000
committerSterling Hughes <sterling@php.net>2001-12-13 16:27:39 +0000
commitc55f8b96c9477c21b2d5033050d386a3d5a6807c (patch)
tree0fd8c7aff1dea3b0b025b096ce37ec50aadd6db7
parent39fcedd78c8a0520509e6538316c3186c3561e2d (diff)
downloadphp-git-c55f8b96c9477c21b2d5033050d386a3d5a6807c.tar.gz
MFB
-rw-r--r--ext/mcrypt/mcrypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/mcrypt/mcrypt.c b/ext/mcrypt/mcrypt.c
index c44f059ecc..f74ad281ce 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
}