mirror of
https://github.com/systemd/systemd.git
synced 2026-08-08 17:10:55 +00:00
nspawn: fix memleak in argument parsing
Coverity CID#1402297.
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user