diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-02-10 20:50:10 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-02-10 20:50:10 +0100 |
commit | 7c5016c79d7913581e22a0da3052f44a58acd8fb (patch) | |
tree | 131ae7aadacb12c356139e7d4863ebd51373452c /src/core/wee-list.c | |
parent | b496f77eb5d5563ad18e2d20af77baaa40ecb2b6 (diff) | |
download | weechat-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.c | 1 |
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; |