projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ffca88
)
element: use NULL instead of 0 for pointers
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 9 Dec 2009 12:27:22 +0000
(13:27 +0100)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 9 Dec 2009 12:27:22 +0000
(13:27 +0100)
gst/gstelement.c
patch
|
blob
|
history
diff --git
a/gst/gstelement.c
b/gst/gstelement.c
index
8e3f3a4
..
80baa04
100644
(file)
--- a/
gst/gstelement.c
+++ b/
gst/gstelement.c
@@
-2861,7
+2861,7
@@
gst_element_dispose (GObject * object)
/* don't call _remove_pad with NULL */
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",
GST_STR_NULL (GST_OBJECT_NAME (object)));
}