mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
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…
x
Reference in New Issue
Block a user