diff options
author | Max Kellermann <max@duempel.org> | 2013-08-06 09:13:07 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-06 09:13:07 +0200 |
commit | 17c8e839b6eedf2ab02543bca5500e97c82c457d (patch) | |
tree | 528ab7145b234543bca522c3952dff92e700364b /src/encoder | |
parent | 348bdcd7b7d23e3bd54e6b80e12f1dc38d2990b9 (diff) | |
download | mpd-17c8e839b6eedf2ab02543bca5500e97c82c457d.tar.gz mpd-17c8e839b6eedf2ab02543bca5500e97c82c457d.tar.xz mpd-17c8e839b6eedf2ab02543bca5500e97c82c457d.zip |
encoder/lame: use delete instead of g_free()
Diffstat (limited to 'src/encoder')
-rw-r--r-- | src/encoder/LameEncoderPlugin.cxx | 2 |
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 |