aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/LameEncoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-08-06 09:13:07 +0200
committerMax Kellermann <max@duempel.org>2013-08-06 09:13:07 +0200
commit17c8e839b6eedf2ab02543bca5500e97c82c457d (patch)
tree528ab7145b234543bca522c3952dff92e700364b /src/encoder/LameEncoderPlugin.cxx
parent348bdcd7b7d23e3bd54e6b80e12f1dc38d2990b9 (diff)
downloadmpd-17c8e839b6eedf2ab02543bca5500e97c82c457d.tar.gz
mpd-17c8e839b6eedf2ab02543bca5500e97c82c457d.tar.xz
mpd-17c8e839b6eedf2ab02543bca5500e97c82c457d.zip
encoder/lame: use delete instead of g_free()
Diffstat (limited to '')
-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