Changeset 5295:5914c84e72be in roaraudio for libroar/ltm.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/ltm.c

    r5270 r5295  
    137137 
    138138 if ( buf != NULL ) 
    139   free(buf); 
     139  roar_mm_free(buf); 
    140140 
    141141 if ( ret != -1 ) { 
     
    194194 if ( ret == -1 || mes.cmd != ROAR_CMD_OK ) { 
    195195  if ( buf != NULL ) 
    196    free(buf); 
     196   roar_mm_free(buf); 
    197197  return NULL; 
    198198 } 
     
    228228 if ( res == NULL ) { 
    229229  if ( buf != NULL ) 
    230    free(buf); 
     230   roar_mm_free(buf); 
    231231  return NULL; 
    232232 } 
     
    243243 
    244244 if ( buf != NULL ) 
    245   free(buf); 
     245  roar_mm_free(buf); 
    246246 return res; 
    247247} 
Note: See TracChangeset for help on using the changeset viewer.