projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd3090e
)
Fix memory leak when creating method node
77/320577/1
author
Wootak Jung
<wootak.jung@samsung.com>
Tue, 24 Dec 2024 00:49:53 +0000
(09:49 +0900)
committer
Wootak Jung
<wootak.jung@samsung.com>
Wed, 5 Mar 2025 04:31:43 +0000
(13:31 +0900)
Change-Id: I5f3b52867c4bd420603ead98ce668dfd16ae701f
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
patch
|
blob
|
history
diff --git
a/bt-oal/bluez_hal/src/bt-hal-gatt-server.c
b/bt-oal/bluez_hal/src/bt-hal-gatt-server.c
index c51229a96cc2285133df371a95ea7c5369548a08..d394ab557f09aa6975b4f4624c6ea4f8c61a1b40 100644
(file)
--- a/
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
+++ b/
bt-oal/bluez_hal/src/bt-hal-gatt-server.c
@@
-2353,6
+2353,7
@@
static int __bt_hal_add_service_to_dbus(char *app_path, int slot, btgatt_srvc_id
node_info->interfaces[0],
&serv_interface_vtable,
NULL, NULL, &error);
+ g_dbus_node_info_unref(node_info);
if (object_id == 0) {
ERR("failed to register: %s", error->message);