From 700e551390a86ffdb92ddc061914ec7687658d18 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 28 Aug 2003 19:10:36 +0000 Subject: fix a bunch of memleaks from valgrind and stuff --- openbox/screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/screen.c') diff --git a/openbox/screen.c b/openbox/screen.c index ac0889bf..f80f0c2d 100644 --- a/openbox/screen.c +++ b/openbox/screen.c @@ -67,6 +67,7 @@ static gboolean replace_wm() wm_sn = g_strdup_printf("WM_S%d", ob_screen); wm_sn_atom = XInternAtom(ob_display, wm_sn, FALSE); + g_free(wm_sn); current_wm_sn_owner = XGetSelectionOwner(ob_display, wm_sn_atom); if (current_wm_sn_owner) { -- cgit v1.2.3