mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 08:49:15 +00:00
ole32: CoUninitialize: No longer access an object after it's been freed.
This commit is contained in:
parent
858bebc7c8
commit
5c0f35a2aa
1 changed files with 1 additions and 1 deletions
|
@ -365,8 +365,8 @@ DWORD apartment_release(struct apartment *apt)
|
|||
struct registered_psclsid *registered_psclsid =
|
||||
LIST_ENTRY(cursor, struct registered_psclsid, entry);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, registered_psclsid);
|
||||
list_remove(®istered_psclsid->entry);
|
||||
HeapFree(GetProcessHeap(), 0, registered_psclsid);
|
||||
}
|
||||
|
||||
/* if this assert fires, then another thread took a reference to a
|
||||
|
|
Loading…
Reference in a new issue