[Wine-patches] [eterhack] programs/winedevice: Fix a typo leading to heap corruption. (eterbug #4884)
Dmitry Timoshkov
dtimoshkov на etersoft.ru
Ср Окт 3 10:34:49 MSK 2012
---
programs/winedevice/device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winedevice/device.c b/programs/winedevice/device.c
index 916c17c..c901fc0 100644
--- a/programs/winedevice/device.c
+++ b/programs/winedevice/device.c
@@ -408,7 +408,7 @@ end:
if (!module)
{
if (*drv_name) HeapFree( GetProcessHeap(), 0, *drv_name );
- if (*event_name) HeapFree( GetProcessHeap(), 0, *drv_name );
+ if (*event_name) HeapFree( GetProcessHeap(), 0, *event_name );
}
return module;
}
--
1.7.12.1
Подробная информация о списке рассылки Wine-patches