Commit bf93519a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

inetcomm: Fix memory leak.

Found by Valgrind.
parent 55bf97bb
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment