1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 12:26:40 +02:00

plugins: remove check of NULL pointers before calling weechat_infolist_free() (issue #865)

This commit is contained in:
Sébastien Helleu
2024-04-25 19:28:11 +02:00
parent 61ff0b8587
commit ee51e6c05f
3 changed files with 5 additions and 4 deletions
+1 -2
View File
@@ -1358,8 +1358,7 @@ weechat_python_infolist_constants ()
return infolist;
error:
if (infolist)
weechat_infolist_free (infolist);
weechat_infolist_free (infolist);
return NULL;
}