Unverified Commit 6ba84d54 authored by Ilya Matiach's avatar Ilya Matiach Committed by GitHub
Browse files

[SWIG][mmlspark] fix seg fault in LGBM_BoosterGetEvalNamesSWIG (#2958)

parent dbc3d05c
......@@ -50,7 +50,7 @@
API_OK_OR_NULL(LGBM_BoosterGetEvalNames(handle,
0, &eval_counts,
0, &string_size,
strings->data()));
nullptr));
try {
strings.reset(new StringArray(eval_counts, string_size));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment