gdi32: Always consume the subst structure.
This commit is contained in:
parent
2c7867a1c0
commit
f8cb60f6c5
|
@ -568,6 +568,9 @@ static BOOL add_font_subst(struct list *subst_list, FontSubst *subst, INT flags)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HeapFree(GetProcessHeap(), 0, subst->from.name);
|
||||||
|
HeapFree(GetProcessHeap(), 0, subst->to.name);
|
||||||
|
HeapFree(GetProcessHeap(), 0, subst);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue