diff options
author | Max Kellermann <max@duempel.org> | 2013-10-16 20:28:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-16 22:07:32 +0200 |
commit | e3511d0ee07ef5a8d0582c85e3ca27fa51d80570 (patch) | |
tree | 938e13571275e2002c9c272fdae064db307887fd | |
parent | fa13a6616f270c8b4fde16ba731579672700af85 (diff) | |
download | mpd-e3511d0ee07ef5a8d0582c85e3ca27fa51d80570.tar.gz mpd-e3511d0ee07ef5a8d0582c85e3ca27fa51d80570.tar.xz mpd-e3511d0ee07ef5a8d0582c85e3ca27fa51d80570.zip |
encoder/wave: use delete to dispose the WaveEncoder object
Diffstat (limited to '')
-rw-r--r-- | src/encoder/WaveEncoderPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/WaveEncoderPlugin.cxx b/src/encoder/WaveEncoderPlugin.cxx index 493b07b61..2b614c2f9 100644 --- a/src/encoder/WaveEncoderPlugin.cxx +++ b/src/encoder/WaveEncoderPlugin.cxx @@ -95,7 +95,7 @@ wave_encoder_finish(Encoder *_encoder) { WaveEncoder *encoder = (WaveEncoder *)_encoder; - g_free(encoder); + delete encoder; } static bool |