From 53661a6551cd71074c8eefa651c5f3228a73f2ef Mon Sep 17 00:00:00 2001 From: Reece Dunn Date: Thu, 1 Sep 2011 00:00:54 +0100 Subject: [PATCH] FreePhData: free tunes (intonations) as well to avoid a memleak when espeak_Terminate is called. --- src/synthdata.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/synthdata.cpp b/src/synthdata.cpp index 1724d2eb..c4ed005f 100644 --- a/src/synthdata.cpp +++ b/src/synthdata.cpp @@ -172,6 +172,7 @@ void FreePhData(void) Free(phoneme_tab_data); Free(phoneme_index); Free(phondata_ptr); + Free(tunes); phoneme_tab_data=NULL; phoneme_index=NULL; phondata_ptr=NULL;