diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-08-28 19:10:36 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-08-28 19:10:36 +0000 |
| commit | 700e551390a86ffdb92ddc061914ec7687658d18 (patch) | |
| tree | f896dc0c68f12503e17fd13dad3615242fb7f87d /openbox/screen.c | |
| parent | 5baa7c802a500ee30fe9719f226d88923ee6e59d (diff) | |
fix a bunch of memleaks from valgrind and stuff
Diffstat (limited to 'openbox/screen.c')
| -rw-r--r-- | openbox/screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |
