summaryrefslogtreecommitdiff
path: root/src/core/wee-list.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-02-10 20:50:10 +0100
committerSébastien Helleu <flashcode@flashtux.org>2015-02-10 20:50:10 +0100
commit7c5016c79d7913581e22a0da3052f44a58acd8fb (patch)
tree131ae7aadacb12c356139e7d4863ebd51373452c /src/core/wee-list.c
parentb496f77eb5d5563ad18e2d20af77baaa40ecb2b6 (diff)
downloadweechat-7c5016c79d7913581e22a0da3052f44a58acd8fb.zip
core: add missing initialization of pointer in list allocation
Diffstat (limited to 'src/core/wee-list.c')
-rw-r--r--src/core/wee-list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/wee-list.c b/src/core/wee-list.c
index fb47b823f..a1fa7e906 100644
--- a/src/core/wee-list.c
+++ b/src/core/wee-list.c
@@ -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;