shlwapi: Use a proper deallocator (Coverity).
This commit is contained in:
parent
2c880e5271
commit
0cb52a9cfa
|
@ -2821,7 +2821,7 @@ HRESULT WINAPI SHLoadIndirectString(LPCWSTR src, LPWSTR dst, UINT dst_len, void
|
||||||
TRACE("returning %s\n", debugstr_w(dst));
|
TRACE("returning %s\n", debugstr_w(dst));
|
||||||
end:
|
end:
|
||||||
if(hmod) FreeLibrary(hmod);
|
if(hmod) FreeLibrary(hmod);
|
||||||
HeapFree(GetProcessHeap(), 0, dllname);
|
LocalFree(dllname);
|
||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue