Changeset 4904:bc37dedf09b4 in roaraudio
- Timestamp:
- 05/05/11 11:30:29 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libroar/stack.c
r4708 r4904 55 55 56 56 if ( roar_stack_new(stack) == -1 ) { 57 free(stack);57 roar_mm_free(stack); 58 58 return NULL; 59 59 } 60 60 61 61 if ( roar_stack_set_flag(stack, ROAR_STACK_FLAG_FREE_SELF, 0) == -1 ) { 62 free(stack);62 roar_mm_free(stack); 63 63 return NULL; 64 64 } … … 79 79 80 80 if ( stack->flags & ROAR_STACK_FLAG_FREE_SELF ) { 81 free(stack);81 roar_mm_free(stack); 82 82 } else { 83 83 memset(stack, 0, sizeof(struct roar_stack)); // just to be sure...
Note: See TracChangeset
for help on using the changeset viewer.