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

Memory leak in MTLSurfaceData

XMLWordPrintable

    • 2d
    • b20
    • os_x

      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.

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

              Created:
              Updated:
              Resolved: