projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1acdf05
)
elm_config: fix valgrind warnings
author
Marcel Hollerbach
<mail@marcel-hollerbach.de>
Wed, 12 Dec 2018 16:18:15 +0000
(17:18 +0100)
committer
Wonki Kim
<wonki_.kim@samsung.com>
Tue, 18 Dec 2018 04:23:55 +0000
(13:23 +0900)
buf is only initializied, if on_flush is true.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D7449
src/lib/elementary/elm_config.c
patch
|
blob
|
history
diff --git
a/src/lib/elementary/elm_config.c
b/src/lib/elementary/elm_config.c
index
518f791
..
a981b48
100644
(file)
--- a/
src/lib/elementary/elm_config.c
+++ b/
src/lib/elementary/elm_config.c
@@
-1732,7
+1732,7
@@
_config_user_load(Eina_Bool on_flush)
_elm_config_user_dir_snprintf(buf, sizeof(buf), "config/%s/.base.flush.cfg",
_elm_profile);
- if (
!ecore_file_exists(buf
) || !on_flush)
+ if (
(on_flush && !ecore_file_exists(buf)
) || !on_flush)
_elm_config_user_dir_snprintf(buf, sizeof(buf), "config/%s/base.cfg",
_elm_profile);