Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
a5477646
Unverified
Commit
a5477646
authored
Jun 20, 2025
by
Ralph Weires
Committed by
GitHub
Jun 20, 2025
Browse files
[swig] fix memory leak in swig interface (#6923)
Co-authored-by:
James Lamb
<
jaylamb20@gmail.com
>
parent
1684419f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
swig/lightgbmlib.i
swig/lightgbmlib.i
+3
-0
No files found.
swig/lightgbmlib.i
View file @
a5477646
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment