[klone] test ptr before use fix
[klone] test ptr before use fix

koanlogic/klone,koanlogic/klone,larsthegeek/klone,xunmengfeng/klone,larsthegeek/klone,larsthegeek/klone,xunmengfeng/klone,koanlogic/klone