]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/ATCVoice.cxx
Melchior FRANZ:
[flightgear.git] / src / ATC / ATCVoice.cxx
index ab88ea0fdbd4cf3b3efa936762f0473ab385911f..82721f420a9881d4dc703e0d3e84666013ba55fb 100644 (file)
@@ -37,7 +37,8 @@ FGATCVoice::FGATCVoice() {
 }
 
 FGATCVoice::~FGATCVoice() {
-    // delete SoundData;
+    free( rawSoundData );
+    delete SoundData;
 }
 
 // Load the two voice files - one containing the raw sound data (.wav) and one containing the word positions (.vce).