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:
Matthias Clasen 2020-09-16 15:59:49 -04:00
parent a1e21c1acb
commit cd60ed4391

View File

@ -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);
}
}