Fix memory leak in uiTable setEditable on unix.

GtkTreePath was not freed correctly.
This commit is contained in:
Lars Wrenger 2020-06-07 20:41:31 +02:00
parent 54567bd4f6
commit 6b124b6f55
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ static void progressBarColumnDataFunc(GtkTreeViewColumn *c, GtkCellRenderer *r,
// TODO avoid the need for this
path = gtk_tree_model_get_path(GTK_TREE_MODEL(m), iter);
rc->row = gtk_tree_path_get_indices(path)[0];
gtk_tree_path_free(path);
rc->col = p->modelColumn;
val = (gint *) g_hash_table_lookup(p->t->indeterminatePositions, rc);
if (pval == -1) {