-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 17, 21, 22
-
Component/s: client-libs
-
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.