Unverified Commit a5477646 authored by Ralph Weires's avatar Ralph Weires Committed by GitHub
Browse files

[swig] fix memory leak in swig interface (#6923)


Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
parent 1684419f
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
$1 = jenv; $1 = jenv;
%} %}
%newobject LGBM_BoosterSaveModelToStringSWIG;
%newobject LGBM_BoosterDumpModelSWIG;
%inline %{ %inline %{
char * LGBM_BoosterSaveModelToStringSWIG(BoosterHandle handle, char * LGBM_BoosterSaveModelToStringSWIG(BoosterHandle handle,
int start_iteration, int start_iteration,
......
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