ieframe: Avoid memory leak (coverity)
André Hentschel
nerv at dawncrow.de
Sun Oct 28 10:16:39 CDT 2012
CID 713483
---
dlls/ieframe/iexplore.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/ieframe/iexplore.c b/dlls/ieframe/iexplore.c
index a72ed34..c4641bd 100644
--- a/dlls/ieframe/iexplore.c
+++ b/dlls/ieframe/iexplore.c
@@ -988,6 +988,7 @@ static HDDEDATA WINAPI dde_proc(UINT type, UINT uFmt, HCONV hConv, HSZ hsz1, HSZ
if(DdeGetData(data, (BYTE*)url, size, 0) != size) {
ERR("error during read\n");
+ heap_free(url);
break;
}
--
1.8.0
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list