diff --git a/gio/gmenu.c b/gio/gmenu.c index bd57810cb..c88fd7c1e 100644 --- a/gio/gmenu.c +++ b/gio/gmenu.c @@ -451,7 +451,7 @@ g_menu_clear_item (struct item *item) { if (item->attributes != NULL) g_hash_table_unref (item->attributes); - if (item->links != NULL); + if (item->links != NULL) g_hash_table_unref (item->links); }