Changeset 3001:98395340e261 in roaraudio for libroardsp/filter_swap.c


Ignore:
Timestamp:
10/27/09 12:01:55 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do not use malloc()/free() but roar_mm_*()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroardsp/filter_swap.c

    r3000 r3001  
    2626 
    2727int roardsp_swap_init   (struct roardsp_filter * filter, struct roar_stream * stream, int id) { 
    28  struct roardsp_swap * inst = malloc(sizeof(struct roardsp_swap)); 
     28 struct roardsp_swap * inst = roar_mm_malloc(sizeof(struct roardsp_swap)); 
    2929 
    3030 ROAR_DBG("roardsp_swap_init(*): inst=%p", inst); 
     
    4848  return -1; 
    4949 
    50  free(filter->inst); 
     50 roar_mm_free(filter->inst); 
    5151 
    5252 return 0; 
Note: See TracChangeset for help on using the changeset viewer.