summaryrefslogtreecommitdiff
path: root/openbox/prop.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbox/prop.c')
-rw-r--r--openbox/prop.c1
1 files changed, 1 insertions, 0 deletions
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)