From 285bea320d671d3b2e3381ffd7df6bae2abd0901 Mon Sep 17 00:00:00 2001 From: akallabeth Date: Thu, 11 Apr 2024 12:53:33 +0200 Subject: [PATCH] [coverity] 1543217 Resource leak --- libfreerdp/core/gateway/arm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libfreerdp/core/gateway/arm.c b/libfreerdp/core/gateway/arm.c index 2ec8d3e7b..d506c7595 100644 --- a/libfreerdp/core/gateway/arm.c +++ b/libfreerdp/core/gateway/arm.c @@ -549,6 +549,7 @@ static BOOL arm_pick_base64Utf16Field(const cJSON* json, const char* name, BYTE* if (!output1 || !len1) { WLog_ERR(TAG, "error when first unbase64 for %s", name); + free(output1); return FALSE; }