[Xcb] xpyb buglet

Aldo Cortesi aldo at nullcube.com
Wed Jul 28 21:51:47 PDT 2010


Hi chaps,


It looks like there's a typo that breaks compilation in the xpyb
codebase. Patch below.



Aldo


-- 
Aldo Cortesi
www.nullcube.com
+64 210 718 900



diff --git a/src/cookie.c b/src/cookie.c
index 6c43e62..46bf645 100644
--- a/src/cookie.c
+++ b/src/cookie.c
@@ -23,7 +23,7 @@ xpybCookie_new(PyTypeObject *self, PyObject *args, PyObject *kw)
 static void
 xpybCookie_dealloc(xpybCookie *self)
 {
-    xcb_discard_reply(c, self->cookie.sequence);
+    xcb_discard_reply(self, self->cookie.sequence);
     Py_CLEAR(self->reply_type);
     Py_CLEAR(self->request);
     Py_CLEAR(self->conn);







More information about the Xcb mailing list