Add missing LeaveCriticalSection's in error path.

1 file changed