Skip to content

Commit

Permalink
fix: retain output memory until js sdk update (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilslice authored Jul 22, 2024
1 parent 7180e57 commit 3f32171
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extism_pdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ func Output(data []byte) {

store(offset, data)
extismOutputSet(offset, clength)
extismFree(offset)
// TODO: coordinate replacement of call to free based on SDK alignment
// extismFree(offset)
}

// OutputString sends the UTF-8 string `s` to the host output.
Expand Down

0 comments on commit 3f32171

Please sign in to comment.