aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder')
-rw-r--r--src/encoder/LameEncoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/LameEncoderPlugin.cxx b/src/encoder/LameEncoderPlugin.cxx
index 9a87d87ff..2dbd6a0df 100644
--- a/src/encoder/LameEncoderPlugin.cxx
+++ b/src/encoder/LameEncoderPlugin.cxx
@@ -127,7 +127,7 @@ lame_encoder_finish(Encoder *_encoder)
/* the real liblame cleanup was already performed by
lame_encoder_close(), so no real work here */
- g_free(encoder);
+ delete encoder;
}
static bool