Commit cf98aed7 authored by Michael Natterer's avatar Michael Natterer 😴

app: run dispose on the paint infos before unrefing their container

because they contain reference cycles with the paint options
parent a5b6544b
......@@ -97,6 +97,8 @@ gimp_paint_exit (Gimp *gimp)
if (gimp->paint_info_list)
{
gimp_container_foreach (gimp->paint_info_list,
(GFunc) g_object_run_dispose, NULL);
g_object_unref (gimp->paint_info_list);
gimp->paint_info_list = NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment