1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-24 17:57:34 +03:00

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

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")) {