xf86-video-intel: src/i830_batchbuffer.c
Kristian Høgsberg
krh at kemper.freedesktop.org
Fri Mar 6 11:48:23 PST 2009
src/i830_batchbuffer.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1cc9b1423c5df591c615ef9588b6eefd81448f80
Author: Lukáš Hejtmánek <xhejtman at ics.muni.cz>
Date: Fri Mar 6 14:44:03 2009 -0500
Fix another VT switch leak
The batch_bo buffer object is reallocated on enter VT, so we need to
unref it on leave vt.
Signed-off-by: Lukas Hejtmanek <xhejtman at ics.muni.cz>
diff --git a/src/i830_batchbuffer.c b/src/i830_batchbuffer.c
index 671e8c8..33da43e 100644
--- a/src/i830_batchbuffer.c
+++ b/src/i830_batchbuffer.c
@@ -159,6 +159,7 @@ intel_batch_teardown(ScrnInfoPtr pScrn)
if (pI830->batch_ptr != NULL) {
dri_bo_unmap(pI830->batch_bo);
+ dri_bo_unreference(pI830->batch_bo);
pI830->batch_ptr = NULL;
}
}
More information about the xorg-commit
mailing list