all repos — openbox @ ff39eb9ba28360086bec0b2bd097906ebd407741

openbox fork - make it a bit more like ryudo

strdup the database string, dont return it directly
Dana Jansens danakj@orodu.net
commit

ff39eb9ba28360086bec0b2bd097906ebd407741

parent

ef43db32ebd9ec3204143038255f91b0b6335d9e

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M engines/openbox/theme.cengines/openbox/theme.c

@@ -95,7 +95,7 @@ XrmValue retvalue;

if (XrmGetResource(db, rname, rclass, &rettype, &retvalue) && retvalue.addr != NULL) { - *value = retvalue.addr; + *value = g_strdup(retvalue.addr); ret = TRUE; }