Module: wine Branch: master Commit: 5c0f35a2aa4c09736aa1a6c920c513bc1282c446 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5c0f35a2aa4c09736aa1a6c920...
Author: Eric Pouech eric.pouech@wanadoo.fr Date: Sun Oct 22 21:48:52 2006 +0200
ole32: CoUninitialize: No longer access an object after it's been freed.
---
dlls/ole32/compobj.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 1887cf6..db76dbc 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -365,8 +365,8 @@ DWORD apartment_release(struct apartment 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