Changeset 3063:955233719a84 in roaraudio for roard/streams.c
- Timestamp:
- 12/26/09 20:36:31 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/streams.c
r3042 r3063 68 68 for (i = 0; i < ROAR_STREAMS_MAX; i++) { 69 69 if ( g_streams[i] == NULL ) { 70 s = ROAR_STREAM_SERVER(n = ROAR_STREAM( malloc(sizeof(struct roar_stream_server))));70 s = ROAR_STREAM_SERVER(n = ROAR_STREAM(roar_mm_malloc(sizeof(struct roar_stream_server)))); 71 71 if ( n == NULL ) { 72 72 ROAR_ERR("streams_new(void): can not allocate memory for new stream: %s", strerror(errno)); … … 252 252 free(s->name); 253 253 254 free(s);254 roar_mm_free(s); 255 255 256 256 g_streams[id] = NULL;
Note: See TracChangeset
for help on using the changeset viewer.