Fix a double free when you have a mousebind without a button attribute
Introduced in f307a3feab
This commit is contained in:
parent
670ff8b4b8
commit
9fcf466aeb
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue