all repos — openbox @ e9a8e272c06fd0cc1a2d93418d261886e786b16f

openbox fork - make it a bit more like ryudo

Fix a couple memory leaks.
Scott Moynes smoynes@nexus.carleton.ca
commit

e9a8e272c06fd0cc1a2d93418d261886e786b16f

parent

fd19711e6a7cdc63f10b79cedc7ff54d7a9d2e81

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M openbox/action.copenbox/action.c

@@ -589,6 +589,7 @@ if ((n = parse_find_node("follow", node->xmlChildrenNode)))

act->data.sendtodir.follow = parse_bool(doc, n); } } + g_free(actname); } return act; }
M openbox/menu.copenbox/menu.c

@@ -56,6 +56,7 @@ .node = node,

.parent = menu }; parent = plugin_create(plugin, &data); + g_free(plugin); } else { parent = menu; parse_menu(doc, node->xmlChildrenNode, &parent);

@@ -110,6 +111,7 @@

stacking_remove(self); RrAppearanceFree(self->a_title); + RrAppearanceFree(self->a_items); XDestroyWindow(ob_display, self->title); XDestroyWindow(ob_display, self->frame); XDestroyWindow(ob_display, self->items);