Fix ref-antileak in _struct.c which eventually lead to deallocating None.

This commit is contained in:
Georg Brandl 2006-05-28 21:42:54 +00:00
parent c1282eef0c
commit c26025c562
1 changed files with 1 additions and 1 deletions

View File

@ -1513,7 +1513,7 @@ s_pack_to(PyObject *self, PyObject *args)
return NULL;
}
return Py_None;
Py_RETURN_NONE;
}
static PyObject *