From 9586e3bf1482a30e29f230a1a987386fcdcec2c9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 13 Jun 2007 01:58:34 +0000 Subject: plug memory leaks from the new strut code --- openbox/focus_cycle_popup.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/focus_cycle_popup.c') diff --git a/openbox/focus_cycle_popup.c b/openbox/focus_cycle_popup.c index 581fa215..463eb9be 100644 --- a/openbox/focus_cycle_popup.c +++ b/openbox/focus_cycle_popup.c @@ -433,6 +433,8 @@ static void popup_render(ObFocusCyclePopup *p, const ObClient *c) RrPaint(p->a_text, p->text, textw, texth); p->last_target = newtarget; + + g_free(screen_area); } void focus_cycle_popup_show(ObClient *c, gboolean iconic_windows, @@ -511,6 +513,7 @@ void focus_cycle_popup_single_show(struct _ObClient *c, icon_popup_min_width(single_popup, POPUP_WIDTH); icon_popup_max_width(single_popup, MAX(a->width/3, POPUP_WIDTH)); icon_popup_text_width(single_popup, popup.maxtextw); + g_free(a); } text = popup_get_name(c); -- cgit v1.2.3