summaryrefslogtreecommitdiff
path: root/ext/imap
diff options
context:
space:
mode:
Diffstat (limited to 'ext/imap')
-rw-r--r--ext/imap/php_imap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c
index 170d9ed363..120779f150 100644
--- a/ext/imap/php_imap.c
+++ b/ext/imap/php_imap.c
@@ -20,6 +20,7 @@
| Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
| Chuck Hagenbuch <chuck@horde.org> |
| Andrew Skalski <askalski@chekinc.com> |
+ | Hartmut Holzgraefe <hartmut@six.de> |
| PHP 4.0 updates: Zeev Suraski <zeev@zend.com> |
+----------------------------------------------------------------------+
*/
@@ -1026,6 +1027,8 @@ PHP_FUNCTION(imap_close)
}
imap_le_struct->flags = flags;
}
+ mail_close_it(imap_le_struct);
+
zend_list_delete(ind);
RETURN_TRUE;
}