inetcomm: Release previously set data (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-06-06 08:47:24 +03:00 committed by Alexandre Julliard
parent aca1636f2c
commit 5557081956
1 changed files with 1 additions and 1 deletions

View File

@ -1755,7 +1755,7 @@ static HRESULT WINAPI MimeBody_SetData(
}
if(This->data)
FIXME("release old data\n");
release_data(&This->data_iid, This->data);
This->data_iid = *riid;
This->data = pvObject;