From ce358b879c1823ab4fa04f56e208d679792667cc Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 10 Feb 2008 15:19:18 +1100 Subject: [PATCH] nouveau: memory leak --- src/mesa/drivers/dri/nouveau_winsys/nouveau_winsys_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/nouveau_winsys/nouveau_winsys_pipe.c b/src/mesa/drivers/dri/nouveau_winsys/nouveau_winsys_pipe.c index 7d7fefa8016..e1a9271395b 100644 --- a/src/mesa/drivers/dri/nouveau_winsys/nouveau_winsys_pipe.c +++ b/src/mesa/drivers/dri/nouveau_winsys/nouveau_winsys_pipe.c @@ -136,6 +136,7 @@ nouveau_pipe_bo_del(struct pipe_winsys *ws, struct pipe_buffer *buf) struct nouveau_pipe_buffer *nvbuf = nouveau_buffer(buf); nouveau_bo_del(&nvbuf->bo); + free(nvbuf); } static void * -- 2.30.2