xserver: Branch 'master'
Zhenyu Wang
zhen at kemper.freedesktop.org
Tue Sep 2 18:51:57 PDT 2008
randr/rrmode.c | 5 -----
1 file changed, 5 deletions(-)
New commits:
commit 7c5ca85a9e6d49ab572831b3e0c08bb4cafb395e
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date: Wed Sep 3 09:41:00 2008 +0800
randr: fix user mode create initial reference count
Don't need extra reference count adding when creating user mode.
This fixes user mode destroy, otherwise we get BadAccess error.
diff --git a/randr/rrmode.c b/randr/rrmode.c
index d507208..212175f 100644
--- a/randr/rrmode.c
+++ b/randr/rrmode.c
@@ -85,11 +85,6 @@ RRModeCreate (xRRModeInfo *modeInfo,
return NULL;
modes = newModes;
modes[num_modes++] = mode;
-
- /*
- * give the caller a reference to this mode
- */
- ++mode->refcnt;
return mode;
}
More information about the xorg-commit
mailing list