[CRIU] [PATCH] page-pipe: Don't forget to free page pipe buffer itself

Cyrill Gorcunov gorcunov at openvz.org
Mon Mar 18 06:12:37 EDT 2013


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 page-pipe.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/page-pipe.c b/page-pipe.c
index 1e43e76..73c0744 100644
--- a/page-pipe.c
+++ b/page-pipe.c
@@ -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);
-- 
1.8.1.4



More information about the CRIU mailing list