summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Plotnick <shrike@netaxs.com>2012-02-29 11:59:55 -0500
committerJulien Danjou <julien@danjou.info>2012-03-08 16:26:03 +0100
commit719555e141f3b9c2f420ecc9bec88471ea5a410e (patch)
tree84c75e5a408416835b3f324869930b9553c44dbe
parent9d38bf4a875f09fef49af82d566285ff1007a3f5 (diff)
Removed unused data field from xpybProtobj.
Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--src/protobj.c1
-rw-r--r--src/protobj.h1
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;