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

memory leak during install

XMLWordPrintable

    • b12
    • x86
    • windows_xp
    • Not verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: