]> Dogcows Code - chaz/openbox/blobdiff - openbox/config.c
Fix a double free when you have a mousebind without a button attribute
[chaz/openbox] / openbox / config.c
index 656ad3c9d8da82536fbee5f6f1d5fafca301a453..025a683377bfbc05e456a407134a030423d4e599 100644 (file)
@@ -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");
             }
         }
This page took 0.020639 seconds and 4 git commands to generate.