* Plug a memory leak. Based on a patch by Samuel Serapion.
CORE-7297 #resolve #comment Fixed in r59611. Thanks.

svn path=/trunk/; revision=59612
This commit is contained in:
Amine Khaldi 2013-08-01 15:40:34 +00:00
parent 54aa628200
commit 7e7dd3324e

View file

@ -194,6 +194,7 @@ BOOL add_entry (LPINT ac, LPTSTR **arg, LPCTSTR entry)
*arg = cmd_realloc (oldarg, (*ac + 2) * sizeof (LPTSTR));
if (NULL == *arg)
{
cmd_free (q);
*arg = oldarg;
return FALSE;
}