]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
Introducing the icon cache.
[chaz/openbox] / openbox / menu.c
index d9426e9062dcc17e715a49166576457eb21efed2..f2458fa8fa931c4593980dbbc138d3e2bfc99731 100644 (file)
@@ -504,6 +504,7 @@ void menu_entry_unref(ObMenuEntry *self)
     if (self && --self->ref == 0) {
         switch (self->type) {
         case OB_MENU_ENTRY_TYPE_NORMAL:
+            RrImageUnref(self->data.normal.icon);
             g_free(self->data.normal.label);
             while (self->data.normal.actions) {
                 actions_act_unref(self->data.normal.actions->data);
This page took 0.020232 seconds and 4 git commands to generate.