1
0
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:
Sébastien Helleu
2015-02-10 20:50:10 +01:00
parent b496f77eb5
commit 7c5016c79d
+1
View File
@@ -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;