projects
/
platform
/
core
/
system
/
storaged.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
369564d
)
Coverity fixes.
96/153796/1
author
INSUN PYO
<insun.pyo@samsung.com>
Fri, 29 Sep 2017 04:04:19 +0000
(13:04 +0900)
committer
Hyotaek Shim
<hyotaek.shim@samsung.com>
Fri, 29 Sep 2017 12:53:34 +0000
(12:53 +0000)
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I0e0745dbbd84ed7e76f5eb0ff4211c127dfd7687
(cherry picked from commit
c7a0e5308d96e3750867d52329febe971dd1cb1d
)
src/block/block.c
patch
|
blob
|
history
diff --git
a/src/block/block.c
b/src/block/block.c
index
e3717d6
..
bc8e798
100644
(file)
--- a/
src/block/block.c
+++ b/
src/block/block.c
@@
-2127,6
+2127,7
@@
static int add_block_device(struct udev_device *dev, const char *devnode, bool i
if (!block_conf[data->block_type].multimount && !data->primary) {
_D("Not support multi mount by config info");
+ free_block_data(data);
return -EPERM;
}