[6/7] gdiplus: Implemented GdipGetPathData with test

Detlef Riekenberg wine.dev at web.de
Thu Jun 26 13:52:06 CDT 2008


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

-- 
 
By by ... Detlef





More information about the wine-devel mailing list