encoder/wave: use delete to dispose the WaveEncoder object

This commit is contained in:
Max Kellermann 2013-10-16 20:28:56 +02:00
parent fa13a6616f
commit e3511d0ee0
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ wave_encoder_finish(Encoder *_encoder)
{
WaveEncoder *encoder = (WaveEncoder *)_encoder;
g_free(encoder);
delete encoder;
}
static bool