Mercurial > almixer_isolated
changeset 33:28cf14726606
Fixed infinite loop bug for delete.
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Fri, 01 Apr 2011 17:39:32 -0700 |
parents | 71fce7ac6e13 |
children | 7709c2145435 |
files | ALmixer.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ALmixer.c Tue Mar 29 15:55:02 2011 -0700 +++ b/ALmixer.c Fri Apr 01 17:39:32 2011 -0700 @@ -7516,7 +7516,7 @@ while(LinkedList_Size(s_listOfALmixerData) > 0) { /* Note that ALmixer_FreeData will remove the data from the linked list for us so don't pop the list here. */ - ALmixer_Data* almixer_data = LinkedList_Back(s_listOfALmixerData); + ALmixer_Data* almixer_data = LinkedList_PopBack(s_listOfALmixerData); ALmixer_FreeData(almixer_data); } LinkedList_Free(s_listOfALmixerData);