diff --git a/EZAudio/EZAudioUtilities.m b/EZAudio/EZAudioUtilities.m index 82402dad..fe6da1fd 100644 --- a/EZAudio/EZAudioUtilities.m +++ b/EZAudio/EZAudioUtilities.m @@ -710,8 +710,8 @@ + (void)clearHistoryInfo:(EZPlotHistoryInfo *)historyInfo + (void)freeHistoryInfo:(EZPlotHistoryInfo *)historyInfo { free(historyInfo->buffer); - free(historyInfo); TPCircularBufferCleanup(&historyInfo->circularBuffer); + free(historyInfo); } //------------------------------------------------------------------------------