mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
Coverity: fix session resource leak
This commit is contained in:
committed by
Carlos R. Mafra
parent
b4bd6d0cad
commit
6c7266c338
@@ -371,6 +371,7 @@ static pid_t execCommand(WScreen *scr, char *command)
|
|||||||
wtokensplit(command, &argv, &argc);
|
wtokensplit(command, &argv, &argc);
|
||||||
|
|
||||||
if (!argc) {
|
if (!argc) {
|
||||||
|
wfree(argv);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user