khronosfws/openmax_al/src/mediarecorder/xaaudioencoderitf.c
changeset 47 c2e43643db4c
parent 42 1fa3fb47b1e3
child 53 eabc8c503852
equal deleted inserted replaced
42:1fa3fb47b1e3 47:c2e43643db4c
   302  * Description: Free all resources reserved at XAAudioEncoderItfImpl_Create
   302  * Description: Free all resources reserved at XAAudioEncoderItfImpl_Create
   303  */
   303  */
   304 void XAAudioEncoderItfImpl_Free(XAAudioEncoderItfImpl* self)
   304 void XAAudioEncoderItfImpl_Free(XAAudioEncoderItfImpl* self)
   305     {
   305     {
   306     DEBUG_API("->XAAudioEncoderItfImpl_Free");
   306     DEBUG_API("->XAAudioEncoderItfImpl_Free");
   307     assert( self==self->self );
       
   308     if(self)
   307     if(self)
   309         {
   308         {
       
   309         assert( self==self->self );
   310         free(self);
   310         free(self);
   311         }
   311         }
   312     DEBUG_API("<-XAAudioEncoderItfImpl_Free");
   312     DEBUG_API("<-XAAudioEncoderItfImpl_Free");
   313     }
   313     }