command_allowed: plug memory leak on strdup() failure.
Coverity CID 249972
This commit is contained in:
@@ -448,6 +448,7 @@ oom:
|
||||
free(ncmnd);
|
||||
while (len > 0)
|
||||
free(nargv[--len]);
|
||||
free(nargv);
|
||||
|
||||
done:
|
||||
/* Keep socket open for ctor when we execute the command. */
|
||||
|
Reference in New Issue
Block a user