nspawn: fix memleak in argument parsing

Coverity CID#1402297.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2019-07-17 10:09:18 +02:00
parent 2d0a880fea
commit 622ecfa869
1 changed files with 1 additions and 1 deletions

View File

@ -1282,7 +1282,7 @@ static int parse_argv(int argc, char *argv[]) {
case ARG_RLIMIT: {
const char *eq;
char *name;
_cleanup_free_ char *name = NULL;
int rl;
if (streq(optarg, "help")) {