1
0
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:
Sébastien Helleu
2024-04-25 19:19:43 +02:00
parent 409a06982e
commit 619b40b42f
5 changed files with 17 additions and 28 deletions
+3
View File
@@ -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);
}
/*