diff options
author | INSUN PYO <insun.pyo@samsung.com> | 2016-08-16 02:15:48 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@review.vlan103.tizen.org> | 2016-08-16 02:15:48 -0700 |
commit | 2926011c5f3b5bcc07af65108a1e8b13cd9fd3c3 (patch) | |
tree | 086eff01a7d5e19820a7edb23cd1bc31a035774b | |
parent | 34e94760396f38193467831bb98b465ff2212846 (diff) | |
parent | cde09d13b75241252db797db6f0efde436089073 (diff) | |
download | dbus-2926011c5f3b5bcc07af65108a1e8b13cd9fd3c3.tar.gz dbus-2926011c5f3b5bcc07af65108a1e8b13cd9fd3c3.tar.bz2 dbus-2926011c5f3b5bcc07af65108a1e8b13cd9fd3c3.zip |
Merge "kdbus: fixed memory leak in "hello" command." into tizensubmit/tizen/20160816.093841submit/tizen/20160816.092849accepted/tizen/wearable/20160817.040702accepted/tizen/tv/20160817.040646accepted/tizen/mobile/20160817.040629accepted/tizen/ivi/20160817.040717accepted/tizen/common/20160817.132822
-rw-r--r-- | dbus/kdbus-common.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/kdbus-common.c b/dbus/kdbus-common.c index 03428aaf..bfceef94 100644 --- 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; } |