Commit 04589492 authored by Fabian Maurer's avatar Fabian Maurer Committed by Alexandre Julliard

shell32: Prevent double free (Coverity).

If we get an error, we might get a double free otherwise. Signed-off-by: 's avatarFabian Maurer <dark.shadow4@web.de>
parent f2459fa8
......@@ -403,6 +403,7 @@ static DWORD parse_dde_command(HSZ hszTopic, WCHAR *command)
}
free(opcode);
opcode = NULL;
for (i = 0; i < argc; i++) free(argv[i]);
free(argv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment