mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:39:34 +00:00
shell32: Prevent double free (Coverity).
If we get an error, we might get a double free otherwise. Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
This commit is contained in:
parent
f2459fa869
commit
0458949263
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue