mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
basevideodecoder: Set the correct lists to NULL after freeing
This commit is contained in:
parent
9a2b87f196
commit
9edd003406
1 changed files with 2 additions and 2 deletions
|
@ -917,11 +917,11 @@ gst_base_video_decoder_clear_queues (GstBaseVideoDecoder * dec)
|
|||
dec->decode = NULL;
|
||||
g_list_foreach (dec->parse, (GFunc) gst_mini_object_unref, NULL);
|
||||
g_list_free (dec->parse);
|
||||
dec->decode = NULL;
|
||||
dec->parse = NULL;
|
||||
g_list_foreach (dec->parse_gather, (GFunc) gst_base_video_codec_free_frame,
|
||||
NULL);
|
||||
g_list_free (dec->parse_gather);
|
||||
dec->decode = NULL;
|
||||
dec->parse_gather = NULL;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue