2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 21:07:43 +00:00

page-pipe: Don't forget to free page pipe buffer itself

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2013-03-18 22:26:04 +04:00 committed by Pavel Emelyanov
parent 6f40cfb506
commit 2e20b48051

View File

@ -62,6 +62,7 @@ void destroy_page_pipe(struct page_pipe *pp)
list_for_each_entry_safe(ppb, n, &pp->bufs, l) {
close(ppb->p[0]);
close(ppb->p[1]);
xfree(ppb);
}
xfree(pp);