mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
parent
71e35b2bf3
commit
77509c80c9
1 changed files with 3 additions and 1 deletions
|
@ -148,7 +148,9 @@ gst_speex_dec_reset (GstSpeexDec * dec)
|
|||
dec->frame_size = 0;
|
||||
dec->frame_duration = 0;
|
||||
dec->mode = NULL;
|
||||
dec->header = NULL; /* FIXME: free ?! */
|
||||
free (dec->header);
|
||||
dec->header = NULL;
|
||||
speex_bits_destroy (&dec->bits);
|
||||
if (dec->state) {
|
||||
speex_decoder_destroy (dec->state);
|
||||
dec->state = NULL;
|
||||
|
|
Loading…
Reference in a new issue