Commit 865a1f48 authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

app: free the string returned by gimp_dock_window_get_description()

parent 94e757df
......@@ -736,8 +736,11 @@ gimp_dock_window_update_title_idle (GimpDockWindow *dock_window)
gchar *desc = gimp_dock_window_get_description (dock_window,
FALSE /*complete*/);
if (desc != NULL)
gtk_window_set_title (GTK_WINDOW (dock_window), desc);
if (desc)
gtk_window_set_title (GTK_WINDOW (dock_window), desc);
g_free (desc);
dock_window->p->update_title_idle_id = 0;
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