A decision to allow the former Communist Party of Malaya secretary-general Chin Peng to return to Malaysia needs to take into account public opinion, said former prime minister Dr Mahathir Mohamad.