[coverity] 1543217 Resource leak
This commit is contained in:
parent
8d9244cb3d
commit
285bea320d
@ -549,6 +549,7 @@ static BOOL arm_pick_base64Utf16Field(const cJSON* json, const char* name, BYTE*
|
|||||||
if (!output1 || !len1)
|
if (!output1 || !len1)
|
||||||
{
|
{
|
||||||
WLog_ERR(TAG, "error when first unbase64 for %s", name);
|
WLog_ERR(TAG, "error when first unbase64 for %s", name);
|
||||||
|
free(output1);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user