Module: wine Branch: master Commit: bf93519a395172c967c78467e2bf2437d35b59d0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bf93519a395172c967c78467e2... Author: Huw Davies <huw(a)codeweavers.com> Date: Sun Dec 6 11:38:32 2009 +0000 inetcomm: Fix memory leak. Found by Valgrind. --- dlls/inetcomm/mimeole.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c index 871ffa5..992949a 100644 --- a/dlls/inetcomm/mimeole.c +++ b/dlls/inetcomm/mimeole.c @@ -1610,6 +1610,7 @@ static HRESULT create_body_offset_list(IStream *stm, const char *boundary, struc } while(1); end: + HeapFree(GetProcessHeap(), 0, nl_boundary); HeapFree(GetProcessHeap(), 0, buf); return hr; }