Skip to content

Commit

Permalink
skins: Fix memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
radioactiveman committed Feb 17, 2015
1 parent 3309f0f commit 69c8401
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/skins/preset-list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ equalizerwin_delete_selected_presets(GtkTreeView *view, const char *filename)
GtkTreePath *path = gtk_tree_row_reference_get_path(ref);
GtkTreeIter iter;
gtk_tree_model_get_iter(model, &iter, path);
gtk_tree_path_free(path);

gtk_tree_model_get(model, &iter, 0, &text, -1);

Expand Down

0 comments on commit 69c8401

Please sign in to comment.