projects
/
platform
/
adaptation
/
samsung_exynos
/
device-manager-plugin-artik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54c0994
)
Fix coverity issue
23/224823/1
author
Youngjae Cho
<y0.cho@samsung.com>
Thu, 13 Feb 2020 08:34:57 +0000
(17:34 +0900)
committer
Youngjae Cho
<y0.cho@samsung.com>
Thu, 13 Feb 2020 08:35:43 +0000
(17:35 +0900)
CID 1095159 (#1 of 1): Resource leak (RESOURCE_LEAK)
Change-Id: I185433f9079dbffa69f8b2673fdbe380f1a60804
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
hw/board/board.c
patch
|
blob
|
history
diff --git
a/hw/board/board.c
b/hw/board/board.c
index
3c6b42d
..
4f73ea7
100644
(file)
--- a/
hw/board/board.c
+++ b/
hw/board/board.c
@@
-45,6
+45,7
@@
static int get_device_serial(char **out)
}
*out = p;
+ free(line);
return 0;
}