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

memory leak during install

    XMLWordPrintable

Details

    • b12
    • x86
    • windows_xp
    • Not verified

    Backports

      Description

        There is a memory leak with CreateLogFile() and MSIGetLogFileName()
        char* CreateLogFile() in deploy\src\plugin\win32\regutils\RegCommon.cpp
        allocates char *absTempFileName = new char[MAX_PATH]
        and returns absTempFileName but MSIGetLogFileName() does not free the memory.
        I assume the memory is freed when the install exits.

        Attachments

          Issue Links

            Activity

              People

                cgruszka Chris Gruszka (Inactive)
                cgruszka Chris Gruszka (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: