From: Michel Dänzer Date: Mon, 9 Mar 2009 12:27:54 +0000 (+0100) Subject: Fix up another instance of _mesa_unreference_framebuffer(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=317687cd94d510ed72e32b0aee2782fbc123576b;p=mesa.git Fix up another instance of _mesa_unreference_framebuffer(). --- diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index 33dc044ad55..c590d5b296d 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -458,7 +458,7 @@ xmesa_free_buffer(XMesaBuffer buffer) XDestroyImage(buffer->tempImage); /* Unreference. If count = zero we'll really delete the buffer */ - _mesa_unreference_framebuffer(&fb); + _mesa_reference_framebuffer(&fb, NULL); XFreeGC(b->xm_visual->display, b->gc);