1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00

core: remove check of NULL pointers before calling string_free_split() (issue #865)

This commit is contained in:
Sébastien Helleu
2024-04-25 19:09:11 +02:00
parent 9a5a1fb300
commit 3057d846d9
21 changed files with 36 additions and 72 deletions
+1 -2
View File
@@ -3044,8 +3044,7 @@ string_split_tags (const char *tags, int *num_tags)
tags_array[tags_count] = NULL;
}
}
if (tags_array_temp)
string_free_split (tags_array_temp);
string_free_split (tags_array_temp);
}
if (num_tags)