From d315d4de8c45aaf0764ea51e4868fc5ef2a45f4d Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sun, 9 Sep 2007 22:23:33 +0000 Subject: [PATCH] set ptr in new_list --- bindings/python/_sigar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bindings/python/_sigar.c b/bindings/python/_sigar.c index 9385e654..10353d3c 100644 --- a/bindings/python/_sigar.c +++ b/bindings/python/_sigar.c @@ -140,9 +140,10 @@ static PyObject *pysigar_new_list(char *data, unsigned long number, for (i=0; iptr = ent; + PyTuple_SET_ITEM(av, i, self); } return av;