diff options
| author | Dana Jansens <danakj@orodu.net> | 2007-06-13 01:58:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2007-06-13 01:58:34 +0000 |
| commit | 9586e3bf1482a30e29f230a1a987386fcdcec2c9 (patch) | |
| tree | f102c76852ed547472b2756d058e3d03620c3b71 /openbox/focus_cycle_popup.c | |
| parent | 7a6a516b8e3d8ad6b15379eabf6652a6f43eab27 (diff) | |
plug memory leaks from the new strut code
Diffstat (limited to 'openbox/focus_cycle_popup.c')
| -rw-r--r-- | openbox/focus_cycle_popup.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
