aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2008-04-12 14:34:59 +0200
committerJakob Bornecrantz <[email protected]>2008-04-12 14:34:59 +0200
commit5dcfc1f1b637aefbed631cc1265ce3808f2ff249 (patch)
tree7c7290a79388c3137597b2ef28fff83818c4308b
parentbd56b21adf5eafebe6df90eac12f0f9eaa9e225f (diff)
Fixed memory leak
-rw-r--r--src/gallium/winsys/dri/intel/intel_winsys_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
index 40902197e1a..44baa6d9fa1 100644
--- a/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
+++ b/src/gallium/winsys/dri/intel/intel_winsys_pipe.c
@@ -93,6 +93,7 @@ intel_buffer_destroy(struct pipe_winsys *winsys,
struct pipe_buffer *buf)
{
driBOUnReference( dri_bo(buf) );
+ FREE(buf);
}