Changeset 3834:b6ffac42c34e in roaraudio


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

use roar_mm_*()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vio_dstr.c

    r3517 r3834  
    336336} 
    337337 
    338 #define _ret(x) free(dstr); return (x) 
     338#define _ret(x) roar_mm_free(dstr); return (x) 
    339339 
    340340int     roar_vio_open_dstr_vio(struct roar_vio_calls * calls, 
     
    359359  return -1; 
    360360 
    361  if ( (dstr = strdup(dstr)) == NULL ) 
     361 if ( (dstr = roar_mm_strdup(dstr)) == NULL ) 
    362362  return -1; 
    363363 
Note: See TracChangeset for help on using the changeset viewer.