Delete the critical section when freeing up the infoPtr.
This commit is contained in:
parent
0c9c020d68
commit
3e7c8e78dc
|
@ -811,6 +811,8 @@ static LRESULT ANIMATE_Destroy(ANIMATE_INFO *infoPtr)
|
|||
|
||||
/* free animate info data */
|
||||
SetWindowLongPtrW(infoPtr->hwndSelf, 0, 0);
|
||||
|
||||
DeleteCriticalSection(&infoPtr->cs);
|
||||
Free(infoPtr);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue