[CRIU] [PATCH] page-pipe: Don't forget to free page pipe buffer itself
Pavel Emelyanov
xemul at parallels.com
Mon Mar 18 14:26:08 EDT 2013
On 03/18/2013 02:12 PM, Cyrill Gorcunov wrote:
> 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);
>
Applied
More information about the CRIU
mailing list