From 1cd884eb5ceeccca05fa6ea1392100af4c07f552 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Sat, 27 Sep 2003 02:25:40 +0000 Subject: [PATCH] Due to a misplaced "}" memory wasn't freed on the error path. --- dlls/setupapi/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/setupapi/queue.c b/dlls/setupapi/queue.c index e1f10af8290..b40f3047a04 100644 --- a/dlls/setupapi/queue.c +++ b/dlls/setupapi/queue.c @@ -1036,9 +1036,9 @@ BOOL static do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style) docopy = FALSE; } } - HeapFree(GetProcessHeap(),0,VersionSource); - HeapFree(GetProcessHeap(),0,VersionTarget); } + HeapFree(GetProcessHeap(),0,VersionSource); + HeapFree(GetProcessHeap(),0,VersionTarget); } } if (style & (SP_COPY_NOOVERWRITE | SP_COPY_FORCE_NOOVERWRITE)) -- 2.11.4.GIT