libFLAC++: Fix mistyped identifier name
authorAndrey Astafyev <dev@246060.ru>
Sat, 30 Nov 2019 12:32:29 +0000 (15:32 +0300)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Sun, 8 Dec 2019 09:34:57 +0000 (20:34 +1100)
src/test_libFLAC++/encoders.cpp

index 3fe0bb3..306e323 100644 (file)
@@ -215,7 +215,7 @@ static bool test_stream_encoder(Layer layer, bool is_ogg)
        printf("testing is_valid()... ");
        if(!encoder->is_valid()) {
                printf("FAILED, returned false\n");
-               delete decoder;
+               delete encoder;
                return false;
        }
        printf("OK\n");