mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-18 20:10:29 +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);
|
||||
|
||||
if (!argc) {
|
||||
wfree(argv);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user