mirror of
https://github.com/panda3d/panda3d.git
synced 2026-02-13 02:31:04 -06:00
py_panda: fix memory leak accessing map/seq properties
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user