inetcomm: Fix memory leak.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-06 11:38:32 +00:00 committed by Alexandre Julliard
parent 55bf97bba7
commit bf93519a39
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}