From: Ben Skeggs Date: Sun, 10 Feb 2008 04:19:18 +0000 (+1100) Subject: nouveau: memory leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af344660d7b77b8adad17cd8018253c8b08045cf;p=mesa.git nouveau: memory leak --- 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 *