[PATCH v2 3/4] nsiproxy: Switch memory allocations to malloc().