Hi Nikolay:
- pathData->Points = GdipAlloc(sizeof(PointF) * pathData->Count);
- if(!pathData->Points)
return OutOfMemory;
- pathData->Types = GdipAlloc(pathData->Count);
- if(!pathData->Points)
Greetings from Copy & Paste pathData->Points => pathData->Types
return OutOfMemory;
You are leaking the memory in pathData->Points