mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
Plug a memory leak in an error case
gtk_show_uri() not freeing the error after showing it to the user. Pointed out by Peter Bloomfield in #3166
This commit is contained in:
parent
a1e21c1acb
commit
cd60ed4391
@ -182,6 +182,8 @@ show_uri_done (GObject *object,
|
||||
G_CALLBACK (gtk_window_destroy), NULL);
|
||||
|
||||
gtk_window_present (GTK_WINDOW (dialog));
|
||||
|
||||
g_error_free (error);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user