summaryrefslogtreecommitdiff
path: root/openbox/prop.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-08-28 19:10:36 +0000
committerDana Jansens <danakj@orodu.net>2003-08-28 19:10:36 +0000
commit700e551390a86ffdb92ddc061914ec7687658d18 (patch)
treef896dc0c68f12503e17fd13dad3615242fb7f87d /openbox/prop.c
parent5baa7c802a500ee30fe9719f226d88923ee6e59d (diff)
fix a bunch of memleaks from valgrind and stuff
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)