khronosfws/openmax_al/src/common/xadynamicsourceitf.c
changeset 53 eabc8c503852
parent 33 5e8b14bae8c3
equal deleted inserted replaced
48:a493a607b5bf 53:eabc8c503852
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #include <stdio.h>
    18 #include <stdio.h>
    19 #include <stdlib.h>
    19 #include <stdlib.h>
    20 #include <assert.h>
       
    21 #include "xadynamicsourceitf.h"
    20 #include "xadynamicsourceitf.h"
    22 
    21 
    23 #include "xadynamicsourceitfadaptationmmf.h"
    22 #include "xadynamicsourceitfadaptationmmf.h"
    24 
    23 
    25 /*****************************************************************************
    24 /*****************************************************************************
    97  * Description: Free all resources reserved at XADynamicSourceItfImpl_Create
    96  * Description: Free all resources reserved at XADynamicSourceItfImpl_Create
    98  */
    97  */
    99 void XADynamicSourceItfImpl_Free(XADynamicSourceItfImpl* self)
    98 void XADynamicSourceItfImpl_Free(XADynamicSourceItfImpl* self)
   100     {
    99     {
   101     DEBUG_API("->XADynamicSourceItfImpl_Free");
   100     DEBUG_API("->XADynamicSourceItfImpl_Free");
   102     assert( self==self->self );
       
   103     free(self);
   101     free(self);
   104     DEBUG_API("<-XADynamicSourceItfImpl_Free");
   102     DEBUG_API("<-XADynamicSourceItfImpl_Free");
   105     }
   103     }
   106 
   104