mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-19 08:30:09 +00:00
fontchooser: Fix leak
the path variable is set, not filled in.
This commit is contained in:
parent
a124d17825
commit
5a5737e3b6
@ -374,7 +374,7 @@ cursor_changed_cb (GtkTreeView *treeview,
|
||||
gint i, n_sizes;
|
||||
|
||||
GtkTreeIter iter;
|
||||
GtkTreePath *path = gtk_tree_path_new ();
|
||||
GtkTreePath *path = NULL;
|
||||
|
||||
gtk_tree_view_get_cursor (treeview, &path, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user