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

(1.1) Memory Leak in linker_md.c

XMLWordPrintable

    • 1.1.8
    • x86
    • windows_95
    • Verified

      Name: mf23781 Date: 10/02/98

      Looking in the linker_md.c file, a copy of the fname is taken using
      strdup() function this is never freed before the function returns
      in a number of places.
      This leak is very small - it should only loose the number of bytes in a DLL name.

      Suggested fix is to place a free(fname) function before all the
      return calls in the function.



      ======================================================================

            duke J. Duke
            miflemi Mick Fleming
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: