diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2004-12-29 21:25:00 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2004-12-29 21:25:00 +0000 |
commit | 742f8c2502428b03fc96b72d76897528a3f5a45e (patch) | |
tree | 24ca299570e27958a996c4bbe40c07f25e2f1ab6 | |
parent | 3f79dfbb040fd8a41156edd8a9b0ee02a08e13ba (diff) | |
download | php-git-742f8c2502428b03fc96b72d76897528a3f5a45e.tar.gz |
MFB: don't perform pointless operations.
-rw-r--r-- | ext/imap/php_imap.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } /* }}} */ |