Marcus Meissner : wbemprox: Free server on exit (Coverity).

Alexandre Julliard julliard at winehq.org
Thu May 9 15:08:29 CDT 2013


Module: wine
Branch: master
Commit: 9d593b11833244a72e0ac5a8003f305618a4e1ad
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9d593b11833244a72e0ac5a8003f305618a4e1ad

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Thu May  9 10:30:44 2013 +0200

wbemprox: Free server on exit (Coverity).

---

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

diff --git a/dlls/wbemprox/wbemlocator.c b/dlls/wbemprox/wbemlocator.c
index 0034983..e869a6a 100644
--- a/dlls/wbemprox/wbemlocator.c
+++ b/dlls/wbemprox/wbemlocator.c
@@ -193,6 +193,7 @@ static HRESULT WINAPI wbem_locator_ConnectServer(
 
     hr = WbemServices_create( NULL, namespace, (void **)ppNamespace );
     heap_free( namespace );
+    heap_free( server );
     if (SUCCEEDED( hr ))
         return WBEM_NO_ERROR;
 




More information about the wine-cvs mailing list