Commit 397517be authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

opcservices: Fix uri path leak (Valgrind).

parent d63a037e
...@@ -476,6 +476,7 @@ static IUri *opc_part_uri_get_rels_uri(IUri *uri) ...@@ -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))) if (FAILED(hr = CreateUri(ret, Uri_CREATE_ALLOW_RELATIVE, 0, &rels_uri)))
WARN("Failed to create rels uri, hr %#x.\n", hr); WARN("Failed to create rels uri, hr %#x.\n", hr);
heap_free(ret); heap_free(ret);
SysFreeString(path);
return rels_uri; return rels_uri;
} }
......
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