shlwapi: Use a proper deallocator (Coverity).

This commit is contained in:
Nikolay Sivov 2014-04-15 01:52:49 +04:00 committed by Alexandre Julliard
parent 2c880e5271
commit 0cb52a9cfa
1 changed files with 1 additions and 1 deletions

View File

@ -2821,7 +2821,7 @@ HRESULT WINAPI SHLoadIndirectString(LPCWSTR src, LPWSTR dst, UINT dst_len, void
TRACE("returning %s\n", debugstr_w(dst));
end:
if(hmod) FreeLibrary(hmod);
HeapFree(GetProcessHeap(), 0, dllname);
LocalFree(dllname);
return hr;
}