Fixed memory leak
authorJakob Bornecrantz <jakob@tungstengraphics.com>
Sat, 12 Apr 2008 12:34:59 +0000 (14:34 +0200)
committerJakob Bornecrantz <jakob@tungstengraphics.com>
Sat, 12 Apr 2008 12:34:59 +0000 (14:34 +0200)
src/gallium/winsys/dri/intel/intel_winsys_pipe.c

index 40902197e1a014d92a390af9e6850f8a0375a5d0..44baa6d9fa143bd6db57333de73de33f627a9264 100644 (file)
@@ -93,6 +93,7 @@ intel_buffer_destroy(struct pipe_winsys *winsys,
                     struct pipe_buffer *buf)
 {
    driBOUnReference( dri_bo(buf) );
+   FREE(buf);
 }