Changeset 4957:45ba4cf2abe3 in roaraudio for roard/codecfilter_sndfile.c


Ignore:
Timestamp:
05/13/11 23:30:17 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use roar_mm_*() where possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/codecfilter_sndfile.c

    r4708 r4957  
    3333 struct codecfilter_sndfile_inst * obj; 
    3434 
    35  if ( (obj = (struct codecfilter_sndfile_inst *) malloc(sizeof(struct codecfilter_sndfile_inst))) == NULL ) 
     35 if ( (obj = (struct codecfilter_sndfile_inst *) roar_mm_malloc(sizeof(struct codecfilter_sndfile_inst))) == NULL ) 
    3636  return -1; 
    3737 
     
    6060  sf_close(obj->state); 
    6161 
    62  free(obj); 
     62 roar_mm_free(obj); 
    6363 
    6464 return 0; 
Note: See TracChangeset for help on using the changeset viewer.