2
0
mirror of git://github.com/lxc/lxc synced 2025-09-01 21:59:28 +00:00
Dereference before null check

Signed-off-by: 2xsec <dh48.jeong@samsung.com>
This commit is contained in:
2xsec
2018-08-14 13:29:50 +09:00
parent df05fa0f04
commit 6926e3b80e

View File

@@ -1897,7 +1897,6 @@ static bool cg_filter_and_set_cpus(char *path, bool am_initialized)
copy_parent:
*lastslash = oldv;
if (fpath)
free(fpath);
fpath = must_make_path(path, "cpuset.cpus", NULL);