From: Jakob Bornecrantz Date: Tue, 8 Apr 2008 13:01:16 +0000 (+0200) Subject: i915: Fixed fence leak in intel_swapbuffers.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2dd6022e65972b0706011734b68da4e9177b05c3;p=mesa.git i915: Fixed fence leak in intel_swapbuffers.c --- diff --git a/src/gallium/winsys/dri/intel/intel_swapbuffers.c b/src/gallium/winsys/dri/intel/intel_swapbuffers.c index 1a42389169d..923b5427714 100644 --- a/src/gallium/winsys/dri/intel/intel_swapbuffers.c +++ b/src/gallium/winsys/dri/intel/intel_swapbuffers.c @@ -180,7 +180,6 @@ intelDisplaySurface(__DRIdrawablePrivate *dPriv, if (intel->first_swap_fence) driFenceUnReference(&intel->first_swap_fence); intel->first_swap_fence = intel_batchbuffer_flush(intel->batch); - driFenceReference(intel->first_swap_fence); } UNLOCK_HARDWARE(intel);