projects
/
platform
/
core
/
system
/
peripheral-bus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d65ec2d
)
board: fixed allocated memory released via iniparser_getseckeys()
72/154572/1
accepted/tizen/unified/20171010.163344
submit/tizen/20171010.131453
author
Segwon
<segwon.han@samsung.com>
Tue, 10 Oct 2017 12:52:47 +0000
(21:52 +0900)
committer
Segwon
<segwon.han@samsung.com>
Tue, 10 Oct 2017 12:52:47 +0000
(21:52 +0900)
Change-Id: I49542c1e79e83aa8ad278eca23d89c78a44cd55f
Signed-off-by: Segwon <segwon.han@samsung.com>
src/daemon/peripheral_bus_board.c
patch
|
blob
|
history
diff --git
a/src/daemon/peripheral_bus_board.c
b/src/daemon/peripheral_bus_board.c
index 9750fe000d84a2222d9027f0a51fa38e1f838b47..3846ac3785e605a2d0a269b4c7bb0a5dba3c2a43 100644
(file)
--- a/
src/daemon/peripheral_bus_board.c
+++ b/
src/daemon/peripheral_bus_board.c
@@
-212,6
+212,9
@@
static pb_board_s *peripheral_bus_board_get_info()
}
}
+ if (key_list)
+ free(key_list);
+
iniparser_freedict(dict);
return board;