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:
861cfbd
)
dont waste a strdup which is never freed
author
Dana Jansens
<danakj@orodu.net>
Sun, 14 Sep 2003 06:40:33 +0000
(06:40 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 14 Sep 2003 06:40:33 +0000
(06:40 +0000)
openbox/client.c
patch
|
blob
|
history
diff --git
a/openbox/client.c
b/openbox/client.c
index 1cc8595b8df7dfe75e0f519481d43a4a3e6ef7a2..eae55bcc8adbb13afd66f04411a0db39f174144d 100644
(file)
--- a/
openbox/client.c
+++ b/
openbox/client.c
@@
-1403,7
+1403,7
@@
void client_update_class(ObClient *self)
}
if (PROP_GETS(self->window, wm_window_role, locale, &s))
- self->role =
g_strdup(s)
;
+ self->role =
s
;
if (self->name == NULL) self->name = g_strdup("");
if (self->class == NULL) self->class = g_strdup("");