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:
parent
2d0a880fea
commit
622ecfa869
@ -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")) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user