summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@gmail.com>2010-08-16 03:08:56 +0200
committerMikael Magnusson <mikachu@gmail.com>2010-09-16 17:24:12 +0200
commit9fcf466aebe8e8312472191a309263df56cdedb8 (patch)
tree9b119eb9672b83dae9ee0cc281c3909a27dad57a
parent670ff8b4b854db0f6a8f5de935427d597a82daee (diff)
Fix a double free when you have a mousebind without a button attribute
Introduced in f307a3feabedd9bcadeaafd0fa8e1b1a60736eb2
-rw-r--r--openbox/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbox/config.c b/openbox/config.c
index 656ad3c9..025a6833 100644
--- a/openbox/config.c
+++ b/openbox/config.c
@@ -526,8 +526,8 @@ static void parse_mouse(xmlNodePtr node, gpointer d)
mouse_bind(buttonstr, cx, mact, action);
nact = obt_xml_find_node(nact->next, "action");
}
- next_nbut:
g_free(buttonstr);
+ next_nbut:
nbut = obt_xml_find_node(nbut->next, "mousebind");
}
}