X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fmenu.c;h=63b74b9520aae55962c5b17ee342022920d3f89b;hb=ea435b99a804b755312bcbb9371faa4c0111d43e;hp=768630bd2939a9b80c35a0492c0380cd96b71ef3;hpb=ec7898dda7bfdd56cfb4d9ff51dddc1c1ab1f00e;p=chaz%2Fopenbox diff --git a/openbox/menu.c b/openbox/menu.c index 768630bd..63b74b95 100644 --- a/openbox/menu.c +++ b/openbox/menu.c @@ -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);