diff options
author | Colomban Wendling <ban@herbesfolles.org> | 2016-04-27 16:01:17 +0200 |
---|---|---|
committer | Colomban Wendling <ban@herbesfolles.org> | 2016-04-27 16:01:17 +0200 |
commit | 66d16bf968a861fa232d73df7661b9297826c3ab (patch) | |
tree | ff9cb96088d479e917a32eebf7e4c13023a02fc5 | |
parent | 035fcce011e31929a578c5da0ac27feb3f532396 (diff) | |
download | scintilla-mirror-66d16bf968a861fa232d73df7661b9297826c3ab.tar.gz |
GTK: Plug a memory leak
-rw-r--r-- | gtk/PlatGTK.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 09752293f..ed1844963 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1494,6 +1494,7 @@ int ListBoxX::GetRowHeight() GdkRectangle rect; GtkTreePath *path = gtk_tree_path_new_first(); gtk_tree_view_get_background_area(GTK_TREE_VIEW(list), path, NULL, &rect); + gtk_tree_path_free(path); return rect.height; #else int row_height=0; |