khronosfws/openmax_al/src/engine/xathreadsyncitf.c
changeset 47 c2e43643db4c
parent 42 1fa3fb47b1e3
child 53 eabc8c503852
--- a/khronosfws/openmax_al/src/engine/xathreadsyncitf.c	Wed Aug 18 10:17:22 2010 +0300
+++ b/khronosfws/openmax_al/src/engine/xathreadsyncitf.c	Thu Sep 02 20:58:01 2010 +0300
@@ -128,9 +128,9 @@
 void XAThreadSyncItfImpl_Free(XAThreadSyncItfImpl* self)
     {
     DEBUG_API("->XAThreadSyncItfImpl_Free");
-    assert(self==self->self);
     if(self)
         {
+        assert(self==self->self);
         XAImpl_DeleteMutex(self->engCriticalSection);
         free(self);
         }