RFR: 8303068: Memory leak in DwarfFile::LineNumberProgram::run_line_number_program [v3]

Thomas Schatzl tschatzl at openjdk.org
Mon Feb 27 11:09:12 UTC 2023


On Mon, 27 Feb 2023 04:26:15 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> 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:
> 
>   Revert unnecessary change

Marked as reviewed by tschatzl (Reviewer).

-------------

PR: https://git.openjdk.org/jdk/pull/12738


More information about the hotspot-dev mailing list