dont waste a strdup which is never freed

This commit is contained in:
Dana Jansens 2003-09-14 06:40:33 +00:00
parent 861cfbdabe
commit d89391ec94

View file

@ -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("");