Commit 250a9d74 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus: Check pointer in GdipGetLineRectI.

parent 8769e706
......@@ -822,6 +822,9 @@ GpStatus WINGDIPAPI GdipGetLineRectI(GpLineGradient *brush, GpRect *rect)
GpRectF rectF;
GpStatus ret;
if(!rect)
return InvalidParameter;
ret = GdipGetLineRect(brush, &rectF);
if(ret == Ok){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment