Changeset 3833:fc0909593cea in roaraudio for libroarsndio
- Timestamp:
- 05/16/10 21:59:01 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroarsndio/libroarsndio.c
r3811 r3833 88 88 int is_midi = 0; 89 89 90 if ( (hdl = malloc(sizeof(struct sio_hdl))) == NULL )90 if ( (hdl = roar_mm_malloc(sizeof(struct sio_hdl))) == NULL ) 91 91 return NULL; 92 92 … … 113 113 // illigal: 114 114 default: 115 free(hdl);115 roar_mm_free(hdl); 116 116 return NULL; 117 117 } … … 128 128 129 129 if ( roar_simple_connect(&(hdl->con), (char*) name, "libroarsndio") == -1 ) { 130 free(hdl);130 roar_mm_free(hdl); 131 131 return NULL; 132 132 } … … 163 163 roar_disconnect(&(hdl->con)); 164 164 165 free(hdl);165 roar_mm_free(hdl); 166 166 } 167 167
Note: See TracChangeset
for help on using the changeset viewer.