Skip to content

Commit

Permalink
fix:(j2t) keep input memory alive
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Jul 12, 2024
1 parent 2d344ea commit 90e3828
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conv/j2t/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ exec:
ret:
types.FreeJ2TStateMachine(fsm)
runtime.KeepAlive(desc)
runtime.KeepAlive(src)
runtime.KeepAlive(buf)
return
}

Expand Down

0 comments on commit 90e3828

Please sign in to comment.