[Xcb] [PATCH 5/7] Removed unused data field from xpybProtobj.
Alex Plotnick
shrike at netaxs.com
Wed Feb 29 08:59:55 PST 2012
---
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
More information about the Xcb
mailing list