summaryrefslogtreecommitdiff
path: root/src/test_libFLAC++/decoders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test_libFLAC++/decoders.cpp')
-rw-r--r--src/test_libFLAC++/decoders.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test_libFLAC++/decoders.cpp b/src/test_libFLAC++/decoders.cpp
index 3decc08d..14aa925e 100644
--- a/src/test_libFLAC++/decoders.cpp
+++ b/src/test_libFLAC++/decoders.cpp
@@ -504,6 +504,7 @@ static bool test_stream_decoder(Layer layer, bool is_ogg)
break;
default:
die_("internal error 006");
+ delete decoder;
return false;
}
if(init_status != ::FLAC__STREAM_DECODER_INIT_STATUS_OK)