Commit 0ccf7c2a by Serge Hallyn

REALLY always free(line)

parent 2cdafc54
...@@ -163,6 +163,7 @@ out: ...@@ -163,6 +163,7 @@ out:
process_lock(); process_lock();
fclose(proc_cgroups); fclose(proc_cgroups);
process_unlock(); process_unlock();
free(line);
return bret; return bret;
} }
...@@ -269,6 +270,7 @@ out: ...@@ -269,6 +270,7 @@ out:
process_lock(); process_lock();
fclose(proc_self_cgroup); fclose(proc_self_cgroup);
process_unlock(); process_unlock();
free(line);
return bret; return bret;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment