Commit d684d776 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

dwrite: Avoid NULL ptr dereference (Coverity).

parent 90774871
......@@ -271,6 +271,8 @@ static struct layout_range *alloc_layout_range_from(struct layout_range *from, c
static void free_layout_range(struct layout_range *range)
{
if (!range)
return;
if (range->object)
IDWriteInlineObject_Release(range->object);
if (range->effect)
......
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