aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-16 20:28:56 +0200
committerMax Kellermann <max@duempel.org>2013-10-16 22:07:32 +0200
commite3511d0ee07ef5a8d0582c85e3ca27fa51d80570 (patch)
tree938e13571275e2002c9c272fdae064db307887fd /src/encoder
parentfa13a6616f270c8b4fde16ba731579672700af85 (diff)
downloadmpd-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.cxx2
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