From: Christian Brauner Date: Tue, 8 Dec 2020 16:22:59 +0000 (+0100) Subject: confile: cleanup clr_config_mount_fstab() X-Git-Tag: lxc-5.0.0~330^2~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6620228b53905315df1114f5d42ffee2e58f47e2;p=thirdparty%2Flxc.git confile: cleanup clr_config_mount_fstab() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 898ff57b1..22347ae57 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -4688,8 +4688,7 @@ static inline int clr_config_mount_auto(const char *key, struct lxc_conf *c, static inline int clr_config_mount_fstab(const char *key, struct lxc_conf *c, void *data) { - free(c->fstab); - c->fstab = NULL; + free_disarm(c->fstab); return 0; }