[PATCH v2 1/1] hhctrl: Use standard C functions for memory allocation.