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:
621d857
)
bluez: Fix unnecessary NULL checks
author
Johan Hedberg
<johan.hedberg@nokia.com>
Fri, 2 Oct 2009 08:58:54 +0000
(10:58 +0200)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 9 Jan 2013 14:30:12 +0000
(14:30 +0000)
sys/bluez/gsta2dpsink.c
patch
|
blob
|
history
diff --git
a/sys/bluez/gsta2dpsink.c
b/sys/bluez/gsta2dpsink.c
index
38467da
..
c92d697
100644
(file)
--- a/
sys/bluez/gsta2dpsink.c
+++ b/
sys/bluez/gsta2dpsink.c
@@
-139,8
+139,7
@@
remove_element_and_fail:
return NULL;
cleanup_and_fail:
- if (element != NULL)
- g_object_unref (G_OBJECT (element));
+ g_object_unref (G_OBJECT (element));
return NULL;
}