diff options
Diffstat (limited to 'src/gui/gui-color.c')
-rw-r--r-- | src/gui/gui-color.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/gui-color.c b/src/gui/gui-color.c index a143dc5c8..1411f8a37 100644 --- a/src/gui/gui-color.c +++ b/src/gui/gui-color.c @@ -2013,10 +2013,8 @@ gui_color_palette_remove (int number) void gui_color_palette_free_structs () { - if (gui_color_hash_palette_color) - hashtable_free (gui_color_hash_palette_color); - if (gui_color_hash_palette_alias) - hashtable_free (gui_color_hash_palette_alias); + hashtable_free (gui_color_hash_palette_color); + hashtable_free (gui_color_hash_palette_alias); if (gui_color_list_with_alias) weelist_free (gui_color_list_with_alias); } |