Commit ca3a5da
fix(jerryscript): fix memory leak in JS function handle deleter
The custom deleter for wrapped JS functions was not deleting the
jerry_value_t handle memory in some edge cases (context cleaned up,
wrong thread, etc.). Fixed by ensuring delete h is always called,
only skipping jerry_value_free when appropriate.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 66588de commit ca3a5da
1 file changed
+7
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2021 | 2021 | | |
2022 | 2022 | | |
2023 | 2023 | | |
2024 | | - | |
2025 | | - | |
2026 | | - | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
2032 | 2030 | | |
| 2031 | + | |
2033 | 2032 | | |
2034 | 2033 | | |
2035 | 2034 | | |
| |||
0 commit comments