fontchooser: Fix leak

the path variable is set, not filled in.
This commit is contained in:
Benjamin Otte 2011-09-21 00:14:02 +02:00
parent a124d17825
commit 5a5737e3b6

View File

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