[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xcb
Subject:    [Xcb] [PATCH 5/7] Removed unused data field from xpybProtobj.
From:       Alex Plotnick <shrike () netaxs ! com>
Date:       2012-02-29 16:59:55
Message-ID: 1330534797-90783-6-git-send-email-shrike () netaxs ! com
[Download RAW message or body]

---
 src/protobj.c |    1 -
 src/protobj.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/protobj.c b/src/protobj.c
index a4bbfb9..f76f9af 100644
--- a/src/protobj.c
+++ b/src/protobj.c
@@ -35,7 +35,6 @@ static void
 xpybProtobj_dealloc(xpybProtobj *self)
 {
     Py_CLEAR(self->buf);
-    free(self->data);
     self->ob_type->tp_free((PyObject *)self);
 }
 
diff --git a/src/protobj.h b/src/protobj.h
index 2f8a1a8..3991a1e 100644
--- a/src/protobj.h
+++ b/src/protobj.h
@@ -4,7 +4,6 @@
 typedef struct {
     PyObject_HEAD
     PyObject *buf;
-    void *data;
 } xpybProtobj;
 
 extern PyTypeObject xpybProtobj_type;
-- 
1.7.6

_______________________________________________
Xcb mailing list
Xcb@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xcb
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic