summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@tungstengraphics.com>2008-04-08 15:01:16 +0200
committerJakob Bornecrantz <jakob@tungstengraphics.com>2008-04-08 15:01:16 +0200
commit2dd6022e65972b0706011734b68da4e9177b05c3 (patch)
tree198793844484b5d9e0e338e1cd49106ca9a4a9e7
parentcaa5b1736dd4c4ba85966fa7710c52da406b1dce (diff)
i915: Fixed fence leak in intel_swapbuffers.c
-rw-r--r--src/gallium/winsys/dri/intel/intel_swapbuffers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/winsys/dri/intel/intel_swapbuffers.c b/src/gallium/winsys/dri/intel/intel_swapbuffers.c
index 1a42389169..923b542771 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);