Changeset 4957:45ba4cf2abe3 in roaraudio for plugins/roard
- Timestamp:
- 05/13/11 23:30:17 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/roard/protocol-esound.c
r4708 r4957 93 93 if ( cur->cmd == cmd ) { 94 94 if ( cur->datalen > 0 ) { 95 if ( (data = malloc(cur->datalen)) == NULL ) {95 if ( (data = roar_mm_malloc(cur->datalen)) == NULL ) { 96 96 // we will do a protocol error in case we do not drop the client 97 97 clients_delete(client); … … 103 103 104 104 if ( ret < 1 ) { 105 free(data);105 roar_mm_free(data); 106 106 clients_delete(client); 107 107 return -1; … … 123 123 124 124 if ( data != NULL ) 125 free(data);125 roar_mm_free(data); 126 126 127 127 return r;
Note: See TracChangeset
for help on using the changeset viewer.