nouveau: memory leak
authorBen Skeggs <skeggsb@gmail.com>
Sun, 10 Feb 2008 04:19:18 +0000 (15:19 +1100)
committerBen Skeggs <skeggsb@gmail.com>
Fri, 15 Feb 2008 02:51:09 +0000 (13:51 +1100)
src/mesa/drivers/dri/nouveau_winsys/nouveau_winsys_pipe.c

index 7d7fefa8016200e9b3231716f02468a5cc66677a..e1a9271395b21e558433f5ac23eebbd6a41a9e49 100644 (file)
@@ -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 *