Skip to content
Snippets Groups Projects
Commit eff7e9aa authored by Campbell Barton's avatar Campbell Barton Committed by Philipp Oeser
Browse files

Fix memory leak evaluating PyDrivers

Missed decref in 686ab4c9 caused every
driver evaluation to create the BPy_StructRNA depsgraph without freeing
the previously allocated depsgraph.
parent dd1112ab
No related branches found
No related tags found
No related merge requests found
......@@ -415,6 +415,7 @@ static void bpy_pydriver_namespace_add_depsgraph(PyObject *driver_vars,
PyErr_Print();
PyErr_Clear();
}
Py_DECREF(py_depsgraph);
}
float BPY_driver_exec(struct PathResolvedRNA *anim_rna,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment