khronosfws/openmax_al/src/common/xavolumeitf.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 
       
    22 #include "xavolumeitf.h"
    20 #include "xavolumeitf.h"
    23 
    21 
    24 #include "xanokiavolumeextitfadaptationmmf.h"
    22 #include "xanokiavolumeextitfadaptationmmf.h"
    25 /**
    23 /**
    26  * XAVolumeItfImpl* GetImpl(XAVolumeItf self)
    24  * XAVolumeItfImpl* GetImpl(XAVolumeItf self)
   412  * Description: Free all resources reserved at XAVolumeItfImpl_Create
   410  * Description: Free all resources reserved at XAVolumeItfImpl_Create
   413  **/
   411  **/
   414 void XAVolumeItfImpl_Free(XAVolumeItfImpl* self)
   412 void XAVolumeItfImpl_Free(XAVolumeItfImpl* self)
   415     {
   413     {
   416     DEBUG_API("->XAVolumeItfImpl_Free");
   414     DEBUG_API("->XAVolumeItfImpl_Free");
   417     assert(self==self->self);
       
   418     free(self);
   415     free(self);
   419     DEBUG_API("<-XAVolumeItfImpl_Free");
   416     DEBUG_API("<-XAVolumeItfImpl_Free");
   420     }
   417     }