From 700e551390a86ffdb92ddc061914ec7687658d18 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 28 Aug 2003 19:10:36 +0000 Subject: fix a bunch of memleaks from valgrind and stuff --- openbox/prop.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbox/prop.c') 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) -- cgit v1.2.3