From d89391ec941077c556246bfc49b53919e694fd3e Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sun, 14 Sep 2003 06:40:33 +0000 Subject: [PATCH] dont waste a strdup which is never freed --- openbox/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/client.c b/openbox/client.c index 1cc8595b..eae55bcc 100644 --- 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(""); -- 2.39.2