From: Jakob Bornecrantz Date: Sat, 12 Apr 2008 12:34:59 +0000 (+0200) Subject: Fixed memory leak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5dcfc1f1b637aefbed631cc1265ce3808f2ff249;p=mesa.git Fixed memory leak --- 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); }