validate: Do not check NULL pointer uselessly

CID 141593
This commit is contained in:
Thibault Saunier 2017-07-18 10:07:34 -04:00
parent fc49d18425
commit 11ef28f3dc

View file

@ -207,8 +207,7 @@ gst_validate_element_monitor_inspect (GstValidateElementMonitor * monitor)
} else
GST_ERROR_OBJECT (element, "no klassname");
if (element)
gst_object_unref (element);
gst_object_unref (element);
}
static void