Changeset 5294:9b298702578a in roaraudio
- Timestamp:
- 11/23/11 23:17:18 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roarclients/roarphone.c
r5289 r5294 256 256 257 257 if ( obuf == NULL ) { 258 if ( (obuf = malloc(2*samples)) == NULL )258 if ( (obuf = roar_mm_malloc(2*samples)) == NULL ) 259 259 return -1; 260 260 } … … 332 332 ROAR_DBG("run_stream(*): len=%lu", (unsigned long) len); 333 333 334 if ( (outbuf = malloc(2*len)) == NULL )334 if ( (outbuf = roar_mm_malloc(2*len)) == NULL ) 335 335 return -1; 336 336 … … 388 388 } 389 389 390 free(outbuf);390 roar_mm_free(outbuf); 391 391 392 392 return 0;
Note: See TracChangeset
for help on using the changeset viewer.