<AWT Dev> RFR: JDK-8260426: awt debug_mem.c DMem_AllocateBlock might leak memory
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Jan 27 10:09:44 UTC 2021
On Wed, 27 Jan 2021 09:56:05 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> It seems that the function DMem_AllocateBlock (debug_mem.c) has an early return that might lead to memory leaks.
> See also the sonar issue Potential leak of memory pointed to by 'header' :
> https://sonarcloud.io/project/issues?id=shipilev_jdk&languages=c&open=AXck8B7zBBG2CXpcngZM&resolved=false&severities=BLOCKER&types=BUG
Marked as reviewed by psadhukhan (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/2252
More information about the awt-dev
mailing list