Changeset 5295:5914c84e72be in roaraudio for libroar/proto.c


Ignore:
Timestamp:
11/24/11 19:43:11 (12 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

converted message (protocol) rutunes to use roar_mm_*() (Closes: #129)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/proto.c

    r5270 r5295  
    272272  } 
    273273 
    274   if ( (*data = malloc(mes->datalen)) == NULL ) { 
     274  if ( (*data = roar_mm_malloc(mes->datalen)) == NULL ) { 
    275275   roar_err_set(ROAR_ERROR_NOMEM); 
    276276   return -1; 
     
    330330 
    331331 if ( data != NULL ) 
    332   free(*data); 
     332  roar_mm_free(*data); 
    333333 
    334334 roar_vio_sync(vio); // we need to do this becasue of ssl/compressed links 
Note: See TracChangeset for help on using the changeset viewer.