From 7c5016c79d7913581e22a0da3052f44a58acd8fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 10 Feb 2015 20:50:10 +0100 Subject: [PATCH] core: add missing initialization of pointer in list allocation --- src/core/wee-list.c | 1 + 1 file changed, 1 insertion(+) 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;