提交 a25ac3ac 编写于 作者: G Gao feng 提交者: Cole Robinson

LXC: fix memory leak in lxcContainerMountFSBlockAuto

we forgot to free fslist,just add VIR_FREE(fslist).
Signed-off-by: NGao feng <gaofeng@cn.fujitsu.com>
(cherry picked from commit e49d792f)
上级 a9846e98
...@@ -926,6 +926,7 @@ retry: ...@@ -926,6 +926,7 @@ retry:
cleanup: cleanup:
VIR_FREE(line); VIR_FREE(line);
VIR_FREE(fslist);
VIR_FORCE_FCLOSE(fp); VIR_FORCE_FCLOSE(fp);
return ret; return ret;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册