Changeset 5294:9b298702578a in roaraudio


Ignore:
Timestamp:
11/23/11 23:17:18 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use roar_mm_*()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarphone.c

    r5289 r5294  
    256256 
    257257 if ( obuf == NULL ) { 
    258   if ( (obuf = malloc(2*samples)) == NULL ) 
     258  if ( (obuf = roar_mm_malloc(2*samples)) == NULL ) 
    259259   return -1; 
    260260 } 
     
    332332 ROAR_DBG("run_stream(*): len=%lu", (unsigned long) len); 
    333333 
    334  if ( (outbuf = malloc(2*len)) == NULL ) 
     334 if ( (outbuf = roar_mm_malloc(2*len)) == NULL ) 
    335335  return -1; 
    336336 
     
    388388 } 
    389389 
    390  free(outbuf); 
     390 roar_mm_free(outbuf); 
    391391 
    392392 return 0; 
Note: See TracChangeset for help on using the changeset viewer.