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:
ec6dad5
)
Fix the coverity issue (Memory leak)
61/259561/1
accepted/tizen/unified/20210616.132535
submit/tizen/20210610.054148
submit/tizen/20210615.073416
author
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 9 Jun 2021 23:25:05 +0000
(08:25 +0900)
committer
DoHyun Pyun
<dh79.pyun@samsung.com>
Wed, 9 Jun 2021 23:25:05 +0000
(08:25 +0900)
Change-Id: I5d8c9e91f73e005606f274d071983d36b49c5b14
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-api/bt-rfcomm-server.c
patch
|
blob
|
history
diff --git
a/bt-api/bt-rfcomm-server.c
b/bt-api/bt-rfcomm-server.c
index
c549308
..
ee38cc0
100644
(file)
--- a/
bt-api/bt-rfcomm-server.c
+++ b/
bt-api/bt-rfcomm-server.c
@@
-448,6
+448,7
@@
static rfcomm_info_t *__register_method()
object_id = _bt_register_new_conn(path, new_server_connection);
if (object_id < 0) {
__rfcomm_delete_id(id);
+ g_free(path);
return NULL;
}
info = g_new0(rfcomm_info_t, 1);