videodec: clear the right variable

This commit is contained in:
Wim Taymans 2012-07-04 09:14:27 +02:00
parent 99103be50c
commit c7cfb66467

View file

@ -812,7 +812,7 @@ gst_video_decoder_finalize (GObject * object)
if (decoder->priv->allocator) { if (decoder->priv->allocator) {
gst_allocator_unref (decoder->priv->allocator); gst_allocator_unref (decoder->priv->allocator);
decoder->priv->pool = NULL; decoder->priv->allocator = NULL;
} }
G_OBJECT_CLASS (parent_class)->finalize (object); G_OBJECT_CLASS (parent_class)->finalize (object);