encoder/wave: use delete to dispose the WaveEncoder object
This commit is contained in:
parent
fa13a6616f
commit
e3511d0ee0
|
@ -95,7 +95,7 @@ wave_encoder_finish(Encoder *_encoder)
|
|||
{
|
||||
WaveEncoder *encoder = (WaveEncoder *)_encoder;
|
||||
|
||||
g_free(encoder);
|
||||
delete encoder;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
Loading…
Reference in New Issue