mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
core: add missing initialization of pointer in list allocation
This commit is contained in:
@@ -48,6 +48,7 @@ weelist_new ()
|
||||
if (new_weelist)
|
||||
{
|
||||
new_weelist->items = NULL;
|
||||
new_weelist->last_item = NULL;
|
||||
new_weelist->size = 0;
|
||||
}
|
||||
return new_weelist;
|
||||
|
||||
Reference in New Issue
Block a user