[geany/geany] 272372: GTK: Plug a memory leak
Colomban Wendling
git-noreply at xxxxx
Mon May 2 13:19:26 UTC 2016
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Mon, 02 May 2016 13:19:26 UTC
Commit: 2723727ecdcc124f87f914ffe1018e4eb6d044a3
https://github.com/geany/geany/commit/2723727ecdcc124f87f914ffe1018e4eb6d044a3
Log Message:
-----------
GTK: Plug a memory leak
X-Scintilla-Bug-URL: https://sourceforge.net/p/scintilla/bugs/1825/
X-Scintilla-Commit-ID: 4f96ed32ebb94809ca419c0f77d37de41984cf76
Modified Paths:
--------------
scintilla/gtk/PlatGTK.cxx
Modified: scintilla/gtk/PlatGTK.cxx
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -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;
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list