From: Ilia Alshanetsky Date: Wed, 29 Dec 2004 21:25:00 +0000 (+0000) Subject: MFB: don't perform pointless operations. X-Git-Tag: RELEASE_0_2~440 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=742f8c2502428b03fc96b72d76897528a3f5a45e;p=php MFB: don't perform pointless operations. --- diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index a2c4e43923..3bf55006a0 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -3191,8 +3191,7 @@ PHP_FUNCTION(imap_mail_compose) RETURN_FALSE; } - RETVAL_STRINGL(mystring, strlen(mystring), 1); - efree(tempstring); + RETVAL_STRINGL(tempstring, 0); } /* }}} */