diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index f488000f5c..070e071290 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -926,6 +926,7 @@ retry: cleanup: VIR_FREE(line); + VIR_FREE(fslist); VIR_FORCE_FCLOSE(fp); return ret; }