atl: Remove freeing of an invalid pointer.

This commit is contained in:
Aleksey Bragin 2008-05-06 22:41:01 +04:00 committed by Alexandre Julliard
parent 633ee950a1
commit 6c833cecef
1 changed files with 0 additions and 1 deletions

View File

@ -454,7 +454,6 @@ static HRESULT resource_register(Registrar *This, LPCOLESTR resFileName,
WARN("could not load resource\n"); WARN("could not load resource\n");
hres = HRESULT_FROM_WIN32(GetLastError()); hres = HRESULT_FROM_WIN32(GetLastError());
} }
HeapFree(GetProcessHeap(), 0, regstra);
}else { }else {
WARN("Could not find source\n"); WARN("Could not find source\n");
hres = HRESULT_FROM_WIN32(GetLastError()); hres = HRESULT_FROM_WIN32(GetLastError());