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

Memory leak in MTLSurfaceData

    XMLWordPrintable

Details

    • 2d
    • b20
    • os_x

    Description

      Memory leak in MTLSurfaceData.m.
      In MTLSurfaceData_initOps() we return if "(gc == NULL)" but we don't free already allocated "mtlsdo" using (MTLSDOps *)malloc(sizeof(MTLSDOps));
      We need to to free(mtlsdo) before we return from MTLSurfaceData_initOps() for any reasons.

      Attachments

        Issue Links

          Activity

            People

              jdv Jayathirth D V
              shadowbug Shadow Bug
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: