]> Dogcows Code - chaz/openbox/blobdiff - openbox/menu.c
Introducing the icon cache.
[chaz/openbox] / openbox / menu.c
index 768630bd2939a9b80c35a0492c0380cd96b71ef3..63b74b9520aae55962c5b17ee342022920d3f89b 100644 (file)
@@ -500,6 +500,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.019483 seconds and 4 git commands to generate.