mirror of
https://github.com/weechat/weechat.git
synced 2026-07-04 16:53:14 +02:00
plugins: remove check of NULL pointers before calling weechat_hashtable_free() (issue #865)
This commit is contained in:
@@ -177,6 +177,9 @@ TEST(CoreHashtable, SetGetRemove)
|
||||
unsigned long long hash;
|
||||
int i;
|
||||
|
||||
/* free hashtable with NULL pointer */
|
||||
hashtable_free (NULL);
|
||||
|
||||
hashtable = hashtable_new (32,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
WEECHAT_HASHTABLE_STRING,
|
||||
|
||||
Reference in New Issue
Block a user