Fix reference to malloc