projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d179d64
)
a couple more g_free() to g_slice_free()'s
author
Dana Jansens
<danakj@orodu.net>
Tue, 16 Feb 2010 21:41:21 +0000
(16:41 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 16 Feb 2010 21:41:21 +0000
(16:41 -0500)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index f8c3c457843b63027ce033dd36323c7212cca1d4..3fe3faa189cfb5b94e18a2375dbdb4ce4e818f89 100644
(file)
--- 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;
}