[PATCH 3/5] gdiplus/metafile: Support linear gradient brushes in playback

Vincent Povirk vincent at codeweavers.com
Mon Nov 6 10:41:17 CST 2017


+        GpLineGradient *gradient;
...
+        if (status == Ok)
+            *brush = (GpBrush *)gradient;
+        else
+            GdipDeleteBrush((GpBrush *)gradient);

This can free gradient without initializing it.



More information about the wine-devel mailing list