projects
/
platform
/
core
/
system
/
resourced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17bbffb
)
Fix memory leak
65/214565/2
author
INSUN PYO
<insun.pyo@samsung.com>
Tue, 24 Sep 2019 04:55:24 +0000
(13:55 +0900)
committer
INSUN PYO
<insun.pyo@samsung.com>
Thu, 26 Sep 2019 02:18:32 +0000
(11:18 +0900)
Change-Id: I9b99d08acae29d280d1dd32dd6616d8e6d373b57
src/common/storage-helper.c
patch
|
blob
|
history
diff --git
a/src/common/storage-helper.c
b/src/common/storage-helper.c
index
a1cb2d4
..
fdea05c
100644
(file)
--- a/
src/common/storage-helper.c
+++ b/
src/common/storage-helper.c
@@
-171,10
+171,10
@@
resourced_ret_c storage_get_size(int type, struct storage_size *size)
goto success;
fail:
- g_slist_free
(paths
);
+ g_slist_free
_full(paths, free
);
return RESOURCED_ERROR_FAIL;
success:
- g_slist_free
(paths
);
+ g_slist_free
_full(paths, free
);
return RESOURCED_ERROR_NONE;
}