There is an early return in 
Java_sun_jvm_hotspot_debugger_linux_amd64_DwarfParser_createDwarfContext that 
misses to delete the non-parsable parser object.
see also the Sonar finding :
https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=cpp&open=AXck8Ca-BBG2CXpcnimn&resolved=false&severities=BLOCKER&types=BUG

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

Commit messages:
 - JDK-8262466

Changes: https://git.openjdk.java.net/jdk/pull/2793/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2793&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8262466
  Stats: 5 lines in 1 file changed: 1 ins; 2 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2793.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2793/head:pull/2793

PR: https://git.openjdk.java.net/jdk/pull/2793

Reply via email to