[Wine-patches] [eterhack] explorer: Fix copy/paste bug that was causing double free and a heap corruption.

Dmitry Timoshkov dtimoshkov на etersoft.ru
Ср Ноя 11 11:52:14 MSK 2015


---
 programs/explorer/explorer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/explorer/explorer.c b/programs/explorer/explorer.c
index 3aa59b9..8411912 100644
--- a/programs/explorer/explorer.c
+++ b/programs/explorer/explorer.c
@@ -782,7 +782,7 @@ BOOL UpdateRegInfo()
     }
 
     HeapFree(GetProcessHeap(), 0, orgW);
-    HeapFree(GetProcessHeap(), 0, orgW);
+    HeapFree(GetProcessHeap(), 0, ownW);
 
     return TRUE;
 }
-- 
2.6.3



Подробная информация о списке рассылки Wine-patches