[Wine-patches] [4/6] [eter-2.0.0] programs/winedevice: Fix a typo leading to heap corruption. (eterbug #8744)

Dmitry Timoshkov dtimoshkov на etersoft.ru
Пн Окт 15 06:56:55 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.3



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