Commit 2e0a45d7 authored by Thibault Saunier's avatar Thibault Saunier

aspectcropration: Fix potential unref of NULL pointer

parent eb2b58cc
Pipeline #9931 passed with stages
in 5 minutes and 19 seconds
...@@ -205,7 +205,7 @@ gst_aspect_ratio_crop_finalize (GObject * object) ...@@ -205,7 +205,7 @@ gst_aspect_ratio_crop_finalize (GObject * object)
aspect_ratio_crop = GST_ASPECT_RATIO_CROP (object); aspect_ratio_crop = GST_ASPECT_RATIO_CROP (object);
g_mutex_clear (&aspect_ratio_crop->crop_lock); 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); 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