py_panda: fix memory leak accessing map/seq properties
This commit is contained in:
parent
e3602ae7c0
commit
12eeff0dec
|
|
@ -47,6 +47,7 @@ static void Dtool_WrapperBase_dealloc(PyObject *self) {
|
|||
Dtool_WrapperBase *wrap = (Dtool_WrapperBase *)self;
|
||||
nassertv(wrap);
|
||||
Py_XDECREF(wrap->_self);
|
||||
Py_TYPE(self)->tp_free(self);
|
||||
}
|
||||
|
||||
static PyObject *Dtool_WrapperBase_repr(PyObject *self) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue