mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
Py_DECREF
This commit is contained in:
parent
aa76a9f59d
commit
cff2eb6052
@ -265,7 +265,11 @@ near_callback(void *data, dGeomID o1, dGeomID o2) {
|
||||
if (!result) {
|
||||
odespace_cat.error() << "An error occurred while calling python function!\n";
|
||||
PyErr_Print();
|
||||
} else {
|
||||
Py_DECREF(result);
|
||||
}
|
||||
Py_DECREF(p2);
|
||||
Py_DECREF(p1);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user