bluez: Fix unnecessary NULL checks
This commit is contained in:
parent
621d857d49
commit
b167c2bbd3
@ -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…
x
Reference in New Issue
Block a user