mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 11:43:13 +02:00
core: remove check of NULL pointers before calling hashtable_free() (issue #865)
This commit is contained in:
@@ -2485,10 +2485,8 @@ COMMAND_CALLBACK(eval)
|
||||
gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]);
|
||||
}
|
||||
|
||||
if (pointers)
|
||||
hashtable_free (pointers);
|
||||
if (options)
|
||||
hashtable_free (options);
|
||||
hashtable_free (pointers);
|
||||
hashtable_free (options);
|
||||
}
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
Reference in New Issue
Block a user