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:
2aa23d2
)
board: fixed allocated memory released via iniparser_getseckeys()
73/154573/1
author
Segwon
<segwon.han@samsung.com>
Tue, 10 Oct 2017 12:52:47 +0000
(21:52 +0900)
committer
Segwon Han
<segwon.han@samsung.com>
Tue, 10 Oct 2017 12:54:28 +0000
(12:54 +0000)
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 cb1720b2a6fd93767e7d3d743105de119bd60e84..9b52c38aebe5035496fca5ea2f320666de53b8e7 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;