[Xfce4-commits] <xfwm4:ochosi/tabwin> Fix memory leak
Simon Steinbeiss
noreply at xfce.org
Thu Dec 12 11:26:01 CET 2013
Updating branch refs/heads/ochosi/tabwin
to 79cce29cf2451bc18bf676cd81d6126e2200633a (commit)
from ba64c3ab91dd6512dd7e3e06f3d119bdfaacd1b5 (commit)
commit 79cce29cf2451bc18bf676cd81d6126e2200633a
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Thu Dec 12 13:17:46 2013 +0300
Fix memory leak
Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
src/tabwin.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/tabwin.c b/src/tabwin.c
index 545e749..f13f015 100644
--- a/src/tabwin.c
+++ b/src/tabwin.c
@@ -485,6 +485,7 @@ createWindowlist (ScreenInfo *screen_info, TabwinWidget *tbw)
* appearance theme and gtkrc settings */
layout = gtk_widget_create_pango_layout (GTK_WIDGET (tbw), "");
pango_layout_get_pixel_size (layout, NULL, &app_label_height);
+ g_object_unref (layout);
if (screen_info->params->cycle_tabwin_mode == STANDARD_ICON_GRID)
{
More information about the Xfce4-commits
mailing list