mirror of
https://github.com/reactos/wine.git
synced 2024-11-28 14:10:32 +00:00
gdi32: Fix free of address-of expression (coverity).
This commit is contained in:
parent
8f6b6303ec
commit
f5df798611
@ -1024,8 +1024,8 @@ static BOOL add_font_subst(struct list *subst_list, FontSubst *subst, INT flags)
|
||||
if(from_exist && (flags & ADD_FONT_SUBST_FORCE))
|
||||
{
|
||||
list_remove(&from_exist->entry);
|
||||
HeapFree(GetProcessHeap(), 0, &from_exist->from.name);
|
||||
HeapFree(GetProcessHeap(), 0, &from_exist->to.name);
|
||||
HeapFree(GetProcessHeap(), 0, from_exist->from.name);
|
||||
HeapFree(GetProcessHeap(), 0, from_exist->to.name);
|
||||
HeapFree(GetProcessHeap(), 0, from_exist);
|
||||
from_exist = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user