From: Xinchen Hui Date: Mon, 24 Mar 2014 05:57:59 +0000 (+0800) Subject: Fixed memleak temporary X-Git-Tag: POST_PHPNG_MERGE~412^2~229 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50dc2ec46cc59fef176f2e0d37450c84f3b70e64;p=php Fixed memleak temporary --- diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 33f26dcaec..9b182365cf 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -3514,6 +3514,7 @@ PHP_FUNCTION(mb_convert_kana) if (ret != NULL) { //??? RETVAL_STRINGL((char *)ret->val, ret->len); /* the string is already strdup()'ed */ + efree(ret->val); } else { RETVAL_FALSE; }