(Lakka) Fix a segfault in items_init
Merge pull request #711 from lakkatv/lakka

(Lakka) Fix a segfault in items_init