videodec: clear the right variable
This commit is contained in:
parent
99103be50c
commit
c7cfb66467
@ -812,7 +812,7 @@ gst_video_decoder_finalize (GObject * object)
|
||||
|
||||
if (decoder->priv->allocator) {
|
||||
gst_allocator_unref (decoder->priv->allocator);
|
||||
decoder->priv->pool = NULL;
|
||||
decoder->priv->allocator = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (object);
|
||||
|
Loading…
x
Reference in New Issue
Block a user