nv50: fix a small leak on context destroy
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 29 Nov 2013 09:36:41 +0000 (04:36 -0500)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 4 Dec 2013 15:38:50 +0000 (16:38 +0100)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/nouveau/nv50/nv50_context.c

index b6bdf79b38971a0f6a1758082d85e0c8ad6f329f..11afc48eab679950d7812bbfc4e2c481ec1d8d41 100644 (file)
@@ -114,6 +114,8 @@ nv50_destroy(struct pipe_context *pipe)
    draw_destroy(nv50->draw);
 #endif
 
+   FREE(nv50->blit);
+
    nouveau_context_destroy(&nv50->base);
 }