]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
give actions a ref count
[chaz/openbox] / openbox / menu.c
index cf3fa5551b6c1661e887fb14e3cc708b37c7bb9d..2bd382cbab5227e3426ce803f44760a1225ee338 100644 (file)
@@ -326,7 +326,7 @@ void menu_entry_free(ObMenuEntry *self)
         case OB_MENU_ENTRY_TYPE_NORMAL:
             g_free(self->data.normal.label);
             while (self->data.normal.actions) {
-                action_free(self->data.normal.actions->data);
+                action_unref(self->data.normal.actions->data);
                 self->data.normal.actions =
                     g_slist_delete_link(self->data.normal.actions,
                                         self->data.normal.actions);
This page took 0.02203 seconds and 4 git commands to generate.