projects
/
platform
/
upstream
/
dbus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f6de0
)
kdbus: fixed memory leak in "hello" command.
16/84016/1
author
Adrian Szyndela
<adrian.s@samsung.com>
Tue, 16 Aug 2016 08:47:13 +0000
(10:47 +0200)
committer
Adrian Szyndela
<adrian.s@samsung.com>
Tue, 16 Aug 2016 08:48:21 +0000
(10:48 +0200)
Change-Id: I0f5c1882a9ffcc9a0186a834ad73e72a10b9f239
dbus/kdbus-common.c
patch
|
blob
|
history
diff --git
a/dbus/kdbus-common.c
b/dbus/kdbus-common.c
index
03428aa
..
bfceef9
100644
(file)
--- a/
dbus/kdbus-common.c
+++ b/
dbus/kdbus-common.c
@@
-339,7
+339,7
@@
_kdbus_hello (kdbus_t *kdbus,
const char *activator_name,
const char *connection_name)
{
- struct kdbus_cmd_hello
*hello;
+ struct kdbus_cmd_hello *hello;
struct kdbus_item *item, *items;
__u64 hello_size;
size_t activator_name_size = 0;
@@
-415,6
+415,8
@@
_kdbus_hello (kdbus_t *kdbus,
kdbus->bloom = item->bloom_parameter;
}
+ free_by_offset (kdbus, offset);
+
return 0;
}