cgroup: don't leak old paths when rewriting
Remember to set tmp2 when allocating the new path so that we can free it later. Also, don't leak tmp2 in the error case. Signed-off-by:Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
Showing
Please
register
or
sign in
to comment