mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
core: remove check of NULL pointers before calling gui_color_palette_free() (issue #865)
This commit is contained in:
+1
-3
@@ -1884,9 +1884,7 @@ gui_color_palette_free_value_cb (struct t_hashtable *hashtable,
|
||||
(void) key;
|
||||
|
||||
color_palette = (struct t_gui_color_palette *)value;
|
||||
|
||||
if (color_palette)
|
||||
gui_color_palette_free (color_palette);
|
||||
gui_color_palette_free (color_palette);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user