projects
/
platform
/
core
/
system
/
libstorage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c075e05
)
storage: fix allocation mismatch
32/69232/1
accepted/tizen/common/20160520.171304
accepted/tizen/ivi/20160520.081642
accepted/tizen/mobile/20160520.081656
accepted/tizen/tv/20160520.081625
accepted/tizen/wearable/20160520.081623
submit/tizen/20160520.041507
author
sunm.lee
<sunm.lee@samsung.com>
Thu, 12 May 2016 08:11:44 +0000
(17:11 +0900)
committer
sunm.lee
<sunm.lee@samsung.com>
Thu, 12 May 2016 08:16:48 +0000
(17:16 +0900)
The pointer variable 'dev' should be assinged to pointer of
storage_ext_device, not pointer of (storage_ext_device *).
Change-Id: Ic9a82c0849b411bca44b95db564f0fd731ea6eba
Signed-off-by: sunm.lee <sunm.lee@samsung.com>
src/storage-external-dbus.c
patch
|
blob
|
history
diff --git
a/src/storage-external-dbus.c
b/src/storage-external-dbus.c
index
e4f4c49
..
2d86e3c
100755
(executable)
--- a/
src/storage-external-dbus.c
+++ b/
src/storage-external-dbus.c
@@
-236,7
+236,7
@@
static void storage_ext_object_path_changed(enum storage_ext_state state,
if (!devnode)
goto out;
- dev = calloc(1, sizeof(storage_ext_device
*
));
+ dev = calloc(1, sizeof(storage_ext_device));
if (!dev)
goto out;