fix crash bug
fix crash bug

huanzhang12/LightGBM,huanzhang12/LightGBM,huanzhang12/lightgbm-gpu,huanzhang12/lightgbm-gpu,huanzhang12/LightGBM,huanzhang12/lightgbm-gpu,huanzhang12/lightgbm-gpu,huanzhang12/LightGBM,huanzhang12/LightGBM,huanzhang12/lightgbm-gpu