diff options
author | Keith Whitwell <[email protected]> | 2009-11-26 14:23:24 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2009-11-26 14:23:24 +0000 |
commit | ecfe1352ccce802c9299c76d600c4d2f33352701 (patch) | |
tree | c18d446256edbfd5508e6ba1b16e15a3b9b45651 /src/gallium/state_trackers/xorg/xorg_xv.c | |
parent | dfb871d4032f37b872c975269c5d666491f1056b (diff) |
st/xorg: fix refcounting bugs introduced in earlier commit
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_xv.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_xv.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_xv.c b/src/gallium/state_trackers/xorg/xorg_xv.c index 7c05c7af399..0b2556b98ed 100644 --- a/src/gallium/state_trackers/xorg/xorg_xv.c +++ b/src/gallium/state_trackers/xorg/xorg_xv.c @@ -488,6 +488,8 @@ display_video(ScrnInfoPtr pScrn, struct xorg_xv_port_priv *pPriv, int id, } DamageRegionProcessPending(&pPixmap->drawable); + pipe_surface_reference(&dst_surf, NULL); + return TRUE; } |