[Wine-patches] [eterhack] usbhub.sys: Free memory.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Чт Май 28 17:03:21 MSD 2009


----------- следующая часть -----------
From c1c68a76f909efbd939846713c8468cd54ec8528 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 27 May 2009 12:56:42 +0400
Subject: [eterhack] usbhub.sys: Free memory.

---
 dlls/usbhub.sys/usbhub.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/usbhub.sys/usbhub.c b/dlls/usbhub.sys/usbhub.c
index c1ebb61..53199f9 100644
--- a/dlls/usbhub.sys/usbhub.c
+++ b/dlls/usbhub.sys/usbhub.c
@@ -685,6 +685,7 @@ fail:
         HeapFree( GetProcessHeap(), 0, instance->instance_id );
         HeapFree( GetProcessHeap(), 0, instance->service );
         list_remove( &instance->entry );
+        HeapFree( GetProcessHeap(), 0, instance );
     }
     return FALSE;
 }
-- 
1.6.3.1



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