diff options
| author | Dana Jansens <danakj@orodu.net> | 2010-02-16 16:41:21 -0500 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2010-02-16 16:41:21 -0500 |
| commit | a891a188d0edc740cc1ba19025df1844c6a83f76 (patch) | |
| tree | 19856065b650a2575a555ce086447f2f6078d740 /openbox | |
| parent | d179d6428ae585a3b8a13479bfe4586e41de2ff9 (diff) | |
a couple more g_free() to g_slice_free()'s
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c index f8c3c457..3fe3faa1 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -502,7 +502,7 @@ void client_manage(Window window, ObPrompt *prompt) client_set_list(); /* free the ObAppSettings shallow copy */ - g_free(settings); + g_slice_free(ObAppSettings, settings); ob_debug("Managed window 0x%lx plate 0x%x (%s)", window, self->frame->window, self->class); @@ -536,7 +536,7 @@ ObClient *client_fake_manage(Window window) self->frame->size.top, self->frame->size.bottom); /* free the ObAppSettings shallow copy */ - g_free(settings); + g_slice_free(ObAppSettings, settings); return self; } |
