projects
/
platform
/
core
/
system
/
kdbus-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8207246
)
return error in kdbus_name_release()
author
Kay Sievers
<kay@vrfy.org>
Tue, 24 Dec 2013 23:20:06 +0000
(
00:20
+0100)
committer
Kay Sievers
<kay@vrfy.org>
Tue, 24 Dec 2013 23:20:06 +0000
(
00:20
+0100)
names.c
patch
|
blob
|
history
diff --git
a/names.c
b/names.c
index f5d226b05bb68a571d380d496f423cebf3081d5e..a5f93e09f633d144b83aff5ab2a743bb5b4cfdd2 100644
(file)
--- a/
names.c
+++ b/
names.c
@@
-209,10
+209,8
@@
static int kdbus_name_release(struct kdbus_name_entry *e,
struct kdbus_name_queue_item *q_tmp, *q;
/* Is the connection already the real owner of the name? */
- if (e->conn == conn) {
- kdbus_name_entry_release(e, notify_list);
- return 0;
- }
+ if (e->conn == conn)
+ return kdbus_name_entry_release(e, notify_list);
/*
* Otherwise, walk the list of queued entries and search for