| 796 | } |
| 797 | |
| 798 | void EffectsBuffer_Free |
| 799 | ( |
| 800 | EffectsBuffer *eb |
| 801 | ) { |
| 802 | if(eb == NULL) return; |
| 803 | |
| 804 | // free blocks |
| 805 | struct EffectsBufferBlock *b = eb->head; |
| 806 | while(b != NULL) { |
| 807 | struct EffectsBufferBlock *next = b->next; |
| 808 | EffectsBufferBlock_Free(b); |
| 809 | b = next; |
| 810 | } |
| 811 | |
| 812 | rm_free(eb); |
| 813 | } |
| 814 |
no test coverage detected