diff -r bd9fb6476b80 -r 419c8c3209e8 ui/gtk/tree.c --- a/ui/gtk/tree.c Fri Jan 09 14:33:40 2015 +0100 +++ b/ui/gtk/tree.c Sat Jan 10 10:14:28 2015 +0100 @@ -244,6 +244,9 @@ e.intval = selection->count > 0 ? selection->rows[0] : -1; event->activate(&e, event->userdata); + if(selection->count > 0) { + free(selection->rows); + } free(selection); } @@ -261,6 +264,9 @@ e.intval = selection->count > 0 ? selection->rows[0] : -1; event->selection(&e, event->userdata); + if(selection->count > 0) { + free(selection->rows); + } free(selection); }