Commit 2e0a45d7 authored by Thibault Saunier's avatar Thibault Saunier 🌵
Browse files

aspectcropration: Fix potential unref of NULL pointer

parent eb2b58cc
......@@ -205,7 +205,7 @@ gst_aspect_ratio_crop_finalize (GObject * object)
aspect_ratio_crop = GST_ASPECT_RATIO_CROP (object);
g_mutex_clear (&aspect_ratio_crop->crop_lock);
gst_caps_unref (aspect_ratio_crop->renegotiation_caps);
gst_clear_caps (&aspect_ratio_crop->renegotiation_caps);
G_OBJECT_CLASS (parent_class)->finalize (object);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment