Thomas Mullaly : urlmon: Fixed memory free of an uninitialized variable.

Alexandre Julliard julliard at winehq.org
Wed Nov 3 11:37:04 CDT 2010


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

Author: Thomas Mullaly <thomas.mullaly at gmail.com>
Date:   Tue Nov  2 21:12:23 2010 -0400

urlmon: Fixed memory free of an uninitialized variable.

Thanks to Gerald for spotting this.

---

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

diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 3e29575..6aaa133 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -5605,7 +5605,6 @@ static HRESULT combine_uri(Uri *base, Uri *relative, DWORD flags, IUri **result)
 
         data.uri = SysAllocString(relative->raw_uri);
         if(!data.uri) {
-            IUri_Release(URI(ret));
             *result = NULL;
             return E_OUTOFMEMORY;
         }




More information about the wine-cvs mailing list