RFR: 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program [v2]
David Holmes
dholmes at openjdk.org
Mon Feb 27 04:22:23 UTC 2023
> After allocating:
>
> _state = new (std::nothrow) LineNumberProgramState(_header);
>
> we need to `delete _state` before returning.
>
> Testing: tiers 1-3
>
> Thanks.
David Holmes has updated the pull request incrementally with one additional commit since the last revision:
Simpler, cleaner and more robust fix
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/12738/files
- new: https://git.openjdk.org/jdk/pull/12738/files/3040fab4..e213ad56
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=12738&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=12738&range=00-01
Stats: 5 lines in 2 files changed: 2 ins; 3 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/12738.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12738/head:pull/12738
PR: https://git.openjdk.org/jdk/pull/12738
More information about the hotspot-dev
mailing list