X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=openbox%2Fprop.c;h=b3349e323414d2d456613b70b2787cb3fdbb8d0e;hb=d5f823db680a2782b2c672ac460f740379cb015a;hp=186cc133c9c6af2b056cf6fbf78532d9f0fa9719;hpb=4cd886e5188549ab48a11b70cb40b65efe916b6c;p=chaz%2Fopenbox diff --git a/openbox/prop.c b/openbox/prop.c index 186cc133..b3349e32 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -392,6 +392,7 @@ void prop_set_strings_utf8(Window win, Atom prop, char **strs) } XChangeProperty(ob_display, win, prop, prop_atoms.utf8, 8, PropModeReplace, (guchar*)str->str, str->len); + g_string_free(str, TRUE); } void prop_erase(Window win, Atom prop)