mirror of
https://github.com/gryf/wmaker.git
synced 2026-11-22 07:17:05 +01:00
Coverity: fix session resource leak
This commit is contained in:
1 parent
b4bd6d0cad
commit
6c7266c338
1 file changed
+1
@@ -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