[coverity] 1543153 Resource leak

This commit is contained in:
akallabeth 2024-04-11 12:56:33 +02:00 committed by Martin Fleisz
parent 6241ce5674
commit 501b86baf4

View File

@ -842,14 +842,14 @@ static BOOL vgids_get_public_key(vgidsContext* context, UINT16 doTag)
/* set response data */
Stream_SetPosition(response, 0);
context->responseData = response;
response = NULL;
rc = TRUE;
handle_error:
free(n);
free(e);
Stream_Free(pubKey, TRUE);
if (!rc)
Stream_Free(response, TRUE);
Stream_Free(response, TRUE);
return rc;
}