From 9fcf466aebe8e8312472191a309263df56cdedb8 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 16 Aug 2010 03:08:56 +0200 Subject: [PATCH] Fix a double free when you have a mousebind without a button attribute Introduced in f307a3feabedd9bcadeaafd0fa8e1b1a60736eb2 --- openbox/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbox/config.c b/openbox/config.c index 656ad3c..025a683 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"); } } -- 1.9.1