diff --git a/gst-libs/gst/video/gstvideopool.c b/gst-libs/gst/video/gstvideopool.c index 96801d1b96..6246d37f00 100644 --- a/gst-libs/gst/video/gstvideopool.c +++ b/gst-libs/gst/video/gstvideopool.c @@ -328,7 +328,7 @@ gst_video_buffer_pool_finalize (GObject * object) gst_caps_unref (priv->caps); if (priv->allocator) - gst_allocator_ref (priv->allocator); + gst_allocator_unref (priv->allocator); G_OBJECT_CLASS (gst_video_buffer_pool_parent_class)->finalize (object); }