diff options
| author | Felipe Pena <felipe@php.net> | 2008-12-24 13:31:40 +0000 |
|---|---|---|
| committer | Felipe Pena <felipe@php.net> | 2008-12-24 13:31:40 +0000 |
| commit | 89e6d5bd2246e4ab0fb9adb924118797b85bc657 (patch) | |
| tree | d686c50f08e48647811d7834d920dc6ab7e254b8 /ext/imap/php_imap.c | |
| parent | e7057c6825ccfd9bf225f10fcd183cc6bfa9ca56 (diff) | |
| download | php-git-89e6d5bd2246e4ab0fb9adb924118797b85bc657.tar.gz | |
- MFH: Fixed memory leak in imap_rfc822_parse_adrlist
Diffstat (limited to 'ext/imap/php_imap.c')
| -rw-r--r-- | ext/imap/php_imap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 721de2b945..93270342e1 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -2225,6 +2225,8 @@ PHP_FUNCTION(imap_rfc822_parse_adrlist) } add_next_index_object(return_value, tovals TSRMLS_CC); } while ((addresstmp = addresstmp->next)); + + mail_free_envelope(&env); } /* }}} */ |
