From f5df798611e37a5f2d885f20b852b74d86b41026 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 24 Oct 2012 20:53:03 +0200 Subject: [PATCH] gdi32: Fix free of address-of expression (coverity). --- dlls/gdi32/freetype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c index 20186fa947..b22fb52662 100644 --- a/dlls/gdi32/freetype.c +++ b/dlls/gdi32/freetype.c @@ -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; }