Commit bff39185 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

taskschd: Fix some memory leaks (Valgrind).

parent e4f15a29
......@@ -350,6 +350,7 @@ HRESULT RegisteredTask_create(const WCHAR *path, const WCHAR *name, ITaskDefinit
SysFreeString(xml);
return hr;
}
SysFreeString(xml);
heap_free(full_name);
full_name = heap_strdupW(actual_path);
......@@ -366,6 +367,7 @@ HRESULT RegisteredTask_create(const WCHAR *path, const WCHAR *name, ITaskDefinit
{
heap_free(full_name);
heap_free(regtask);
MIDL_user_free(xml);
return hr;
}
MIDL_user_free(xml);
......
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