nspawn: fix memleak in argument parsing

Coverity CID#1402297.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-07-17 11:35:04 +02:00
parent 2d0a880fea
commit 622ecfa869
+1 -1
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")) {