Very nice catch @oni-link, looked straight over that one. perhaps `xmalloc` + `memset` should be used here...