From 2e20b48051a8266cd8254d59bc2576bff87d0c86 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Mon, 18 Mar 2013 22:26:04 +0400 Subject: [PATCH] page-pipe: Don't forget to free page pipe buffer itself Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- page-pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/page-pipe.c b/page-pipe.c index 1e43e7651..73c07446a 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);