distributed: Fix very minor memory leak
This commit is contained in:
parent
d7ede81aa3
commit
e70d0b47fc
|
|
@ -717,6 +717,7 @@ handle_update_field() {
|
|||
nassertr(neverDisable != nullptr, false);
|
||||
|
||||
unsigned int cNeverDisable = PyLong_AsLong(neverDisable);
|
||||
Py_DECREF(neverDisable);
|
||||
if (!cNeverDisable) {
|
||||
// in quiet zone and distobj is disable-able drop update on the
|
||||
// floor
|
||||
|
|
|
|||
Loading…
Reference in New Issue