summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/action.c1
-rw-r--r--openbox/menu.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/openbox/action.c b/openbox/action.c
index a14ea7cc..5f79a996 100644
--- a/openbox/action.c
+++ b/openbox/action.c
@@ -589,6 +589,7 @@ Action *action_parse(xmlDocPtr doc, xmlNodePtr node)
act->data.sendtodir.follow = parse_bool(doc, n);
}
}
+ g_free(actname);
}
return act;
}
diff --git a/openbox/menu.c b/openbox/menu.c
index e2c55c6d..f8a5efc5 100644
--- a/openbox/menu.c
+++ b/openbox/menu.c
@@ -56,6 +56,7 @@ void parse_menu_full(xmlDocPtr doc, xmlNodePtr node, void *data,
.parent = menu
};
parent = plugin_create(plugin, &data);
+ g_free(plugin);
} else {
parent = menu;
parse_menu(doc, node->xmlChildrenNode, &parent);
@@ -110,6 +111,7 @@ void menu_destroy_hash_value(ObMenu *self)
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);