gdiplus: Check for null pt in GdipCreateMatrix3.
This commit is contained in:
parent
b4e20b2ebf
commit
1c41470cd0
|
@ -87,7 +87,7 @@ GpStatus WINGDIPAPI GdipCreateMatrix3(GDIPCONST GpRectF *rect,
|
|||
{
|
||||
TRACE("(%p, %p, %p)\n", rect, pt, matrix);
|
||||
|
||||
if(!matrix)
|
||||
if(!matrix || !pt)
|
||||
return InvalidParameter;
|
||||
|
||||
*matrix = GdipAlloc(sizeof(GpMatrix));
|
||||
|
|
Loading…
Reference in New Issue