[Wine-patches] [eter-2.1] explorer: Fix copy/paste bug that was causing double free and a heap corruption.
Dmitry Timoshkov
dtimoshkov на etersoft.ru
Ср Ноя 11 11:52:07 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 d82a23c..e47becb 100644
--- a/programs/explorer/explorer.c
+++ b/programs/explorer/explorer.c
@@ -789,7 +789,7 @@ BOOL UpdateRegInfo()
}
HeapFree(GetProcessHeap(), 0, orgW);
- HeapFree(GetProcessHeap(), 0, orgW);
+ HeapFree(GetProcessHeap(), 0, ownW);
return TRUE;
}
--
2.6.3
Подробная информация о списке рассылки Wine-patches