Changeset 4975:1b8be0a0ba5f in roaraudio for libroar/vio_dstr.c
- Timestamp:
- 05/16/11 15:16:33 (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/vio_dstr.c
r4964 r4975 770 770 return -1; 771 771 772 if ( roar_vio_open_stack (calls) == -1 )772 if ( roar_vio_open_stack2(calls, NULL) == -1 ) 773 773 return -1; 774 774 … … 776 776 777 777 if ( (def = chain->def) != NULL ) { 778 if ( (tc = malloc(sizeof(struct roar_vio_calls))) == NULL ) {778 if ( (tc = roar_mm_malloc(sizeof(struct roar_vio_calls))) == NULL ) { 779 779 _ret(-1); 780 780 } 781 781 782 782 if ( roar_vio_clear_calls(tc) == -1 ) { 783 free(tc);783 roar_mm_free(tc); 784 784 _ret(-1); 785 785 } … … 809 809 810 810 if ( c->need_vio ) { 811 if ( (tc = malloc(sizeof(struct roar_vio_calls))) == NULL ) {811 if ( (tc = roar_mm_malloc(sizeof(struct roar_vio_calls))) == NULL ) { 812 812 _ret(-1); 813 813 } 814 814 815 815 if ( roar_vio_clear_calls(tc) == -1 ) { 816 free(tc);816 roar_mm_free(tc); 817 817 _ret(-1); 818 818 }
Note: See TracChangeset
for help on using the changeset viewer.