KSP: malloc does not exists in early stage of initialization, not use them

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>