mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-05 18:22:23 +00:00
element: use NULL instead of 0 for pointers
This commit is contained in:
parent
0ffca884b0
commit
8bc67e5434
1 changed files with 1 additions and 1 deletions
|
@ -2861,7 +2861,7 @@ gst_element_dispose (GObject * object)
|
||||||
/* don't call _remove_pad with NULL */
|
/* don't call _remove_pad with NULL */
|
||||||
gst_element_remove_pad (element, GST_PAD_CAST (element->pads->data));
|
gst_element_remove_pad (element, GST_PAD_CAST (element->pads->data));
|
||||||
}
|
}
|
||||||
if (G_UNLIKELY (element->pads != 0)) {
|
if (G_UNLIKELY (element->pads != NULL)) {
|
||||||
g_critical ("could not remove pads from element %s",
|
g_critical ("could not remove pads from element %s",
|
||||||
GST_STR_NULL (GST_OBJECT_NAME (object)));
|
GST_STR_NULL (GST_OBJECT_NAME (object)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue