mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
aspectcropration: Fix potential unref of NULL pointer
This commit is contained in:
parent
eb2b58cc0b
commit
2e0a45d7df
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue