mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
bluez: Fix unnecessary NULL checks
This commit is contained in:
parent
621d857d49
commit
b167c2bbd3
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue