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:
@@ -1358,8 +1358,7 @@ weechat_python_infolist_constants ()
|
||||
return infolist;
|
||||
|
||||
error:
|
||||
if (infolist)
|
||||
weechat_infolist_free (infolist);
|
||||
weechat_infolist_free (infolist);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user