Changeset 3850:ecd08ece4a31 in roaraudio


Ignore:
Timestamp:
05/16/10 22:32:27 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use of roar_mm_*()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroaross/libroaross.c

    r3849 r3850  
    328328 
    329329 if ( new_session ) { 
    330   ses = malloc(sizeof(struct session)); 
     330  ses = roar_mm_malloc(sizeof(struct session)); 
    331331  if ( ses == NULL ) 
    332332   return NULL; 
     
    345345  if ( roar_simple_connect(&(ses->con), server, name) == -1 ) { 
    346346   if ( new_session ) 
    347     free(ses); 
     347    roar_mm_free(ses); 
    348348 
    349349   return NULL; 
     
    377377 
    378378 if ( session != &_session ) 
    379   free(session); 
     379  roar_mm_free(session); 
    380380} 
    381381 
Note: See TracChangeset for help on using the changeset viewer.