mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 03:52:25 +00:00
validate: Do not check NULL pointer uselessly
CID 141593
This commit is contained in:
parent
fc49d18425
commit
11ef28f3dc
1 changed files with 1 additions and 2 deletions
|
@ -207,8 +207,7 @@ gst_validate_element_monitor_inspect (GstValidateElementMonitor * monitor)
|
||||||
} else
|
} else
|
||||||
GST_ERROR_OBJECT (element, "no klassname");
|
GST_ERROR_OBJECT (element, "no klassname");
|
||||||
|
|
||||||
if (element)
|
gst_object_unref (element);
|
||||||
gst_object_unref (element);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue