Fix memory leak evaluating PyDrivers
Missed decref in 686ab4c940
caused every
driver evaluation to create the BPy_StructRNA depsgraph without freeing
the previously allocated depsgraph.
This commit is contained in:
parent
fe6999352a
commit
c3fed26f37
Notes:
blender-bot
2023-02-14 06:49:57 +01:00
Referenced by issue #88449: Blender LTS: Maintenance Task 2.93 Referenced by issue #88449, Blender LTS: Maintenance Task 2.93
|
@ -427,6 +427,7 @@ static void bpy_pydriver_namespace_add_depsgraph(PyObject *driver_vars,
|
|||
PyErr_Print();
|
||||
PyErr_Clear();
|
||||
}
|
||||
Py_DECREF(py_depsgraph);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue