mirror of https://github.com/GNOME/gimp.git
app: don't leak UI manager in GimpToolPath
This commit is contained in:
parent
18d747611c
commit
10f9ee63c6
|
@ -318,10 +318,13 @@ gimp_tool_path_constructed (GObject *object)
|
|||
static void
|
||||
gimp_tool_path_dispose (GObject *object)
|
||||
{
|
||||
GimpToolPath *path = GIMP_TOOL_PATH (object);
|
||||
GimpToolPath *path = GIMP_TOOL_PATH (object);
|
||||
GimpToolPathPrivate *private = path->private;
|
||||
|
||||
gimp_tool_path_set_vectors (path, NULL);
|
||||
|
||||
g_clear_object (&private->ui_manager);
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue