-
Bug
-
Resolution: Fixed
-
P3
-
17, 21, 22
-
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.
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.