[Xfce4-commits] <terminal:master> Plug small memory leak.

Nick Schermer noreply at xfce.org
Mon Aug 23 18:18:01 CEST 2010


Updating branch refs/heads/master
         to b44698c2d44ed63fd71c24b3e7bb94b8714aa941 (commit)
       from dd2407f8a6ca634e4f1f1079d8537233fd6f9885 (commit)

commit b44698c2d44ed63fd71c24b3e7bb94b8714aa941
Author: Nick Schermer <nick at xfce.org>
Date:   Mon Aug 23 18:16:46 2010 +0200

    Plug small memory leak.

 terminal/terminal-screen.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index ba9ce1e..7e80461 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1469,6 +1469,7 @@ terminal_screen_set_window_geometry_hints (TerminalScreen *screen,
   gtk_widget_style_get (GTK_WIDGET (screen->terminal), "inner-border", &border, NULL);
   xpad = border->left + border->right;
   ypad = border->top + border->bottom;
+  gtk_border_free (border);
 #else
   vte_terminal_get_padding (VTE_TERMINAL (screen->terminal), &xpad, &ypad);
 #endif



More information about the Xfce4-commits mailing list