[coverity] 1543217 Resource leak

This commit is contained in:
akallabeth 2024-04-11 12:53:33 +02:00 committed by Martin Fleisz
parent 8d9244cb3d
commit 285bea320d

View File

@ -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;
} }