mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 23:06:38 +02:00
core: remove check of NULL pointers before calling string_shared_free() (issue #865)
This commit is contained in:
@@ -2902,6 +2902,9 @@ TEST(CoreString, Shared)
|
||||
|
||||
string_shared_free (str3);
|
||||
LONGS_EQUAL(count + 0, string_hashtable_shared->items_count);
|
||||
|
||||
/* test free of NULL */
|
||||
string_shared_free (NULL);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user