Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8260426

awt debug_mem.c DMem_AllocateBlock might leak memory

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b08
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mbaesken Matthias Baesken
                Reporter:
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: