Delete the critical section when freeing up the infoPtr.

This commit is contained in:
Dimitrie O. Paun 2005-03-21 10:27:58 +00:00 committed by Alexandre Julliard
parent 0c9c020d68
commit 3e7c8e78dc
1 changed files with 2 additions and 0 deletions

View File

@ -811,6 +811,8 @@ static LRESULT ANIMATE_Destroy(ANIMATE_INFO *infoPtr)
/* free animate info data */ /* free animate info data */
SetWindowLongPtrW(infoPtr->hwndSelf, 0, 0); SetWindowLongPtrW(infoPtr->hwndSelf, 0, 0);
DeleteCriticalSection(&infoPtr->cs);
Free(infoPtr); Free(infoPtr);
return 0; return 0;