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:
parent
6f40cfb506
commit
2e20b48051
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user