[PATCH 2/6] common: Tidy up how malloc() is inited