opcservices: Fix uri path leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d63a037eac
commit
397517bee2
|
@ -476,6 +476,7 @@ static IUri *opc_part_uri_get_rels_uri(IUri *uri)
|
|||
if (FAILED(hr = CreateUri(ret, Uri_CREATE_ALLOW_RELATIVE, 0, &rels_uri)))
|
||||
WARN("Failed to create rels uri, hr %#x.\n", hr);
|
||||
heap_free(ret);
|
||||
SysFreeString(path);
|
||||
|
||||
return rels_uri;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue