From ea83b296ff1c3b66c86c73fa4921c3e540ff7f10 Mon Sep 17 00:00:00 2001 From: tomponline Date: Mon, 4 Mar 2019 08:37:16 +0000 Subject: [PATCH] cmd: shut up gcc. Closes #2885. Signed-off-by: tomponline --- src/lxc/cmd/lxc_user_nic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/cmd/lxc_user_nic.c b/src/lxc/cmd/lxc_user_nic.c index b9683c296..27100d248 100644 --- a/src/lxc/cmd/lxc_user_nic.c +++ b/src/lxc/cmd/lxc_user_nic.c @@ -817,7 +817,7 @@ static char *get_nic_if_avail(int fd, struct alloted_s *names, int pid, static bool create_db_dir(char *fnam) { - __do_free char *copy; + __do_free char *copy = NULL; char *p; int ret; -- 2.47.2