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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user