khronosfws/openmax_al/src/common/xastreaminformationitf.c
changeset 47 c2e43643db4c
parent 42 1fa3fb47b1e3
child 55 e267340986c9
--- a/khronosfws/openmax_al/src/common/xastreaminformationitf.c	Wed Aug 18 10:17:22 2010 +0300
+++ b/khronosfws/openmax_al/src/common/xastreaminformationitf.c	Thu Sep 02 20:58:01 2010 +0300
@@ -316,9 +316,9 @@
 void XAStreamInformationItfImpl_Free(XAStreamInformationItfImpl* self)
     {
     DEBUG_API("->XAStreamInformationItfImpl_Free");
-    assert(self==self->self);
     if(self)
         {
+        assert(self==self->self);
         free(self);
         }
     DEBUG_API("<-XAStreamInformationItfImpl_Free");