projects
/
platform
/
core
/
system
/
crash-worker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7343f5
)
config: Be more verbose about consequence of ExtraScript OOM condition
47/225547/2
author
Karol Lewandowski
<k.lewandowsk@samsung.com>
Thu, 20 Feb 2020 18:26:59 +0000
(19:26 +0100)
committer
Karol Lewandowski
<k.lewandowsk@samsung.com>
Fri, 21 Feb 2020 11:48:08 +0000
(12:48 +0100)
Change-Id: I7add0d5df5fc2a0369c011574eff7a1eccd8343f
src/shared/config.c
patch
|
blob
|
history
diff --git
a/src/shared/config.c
b/src/shared/config.c
index
b7f32a5
..
be14826
100644
(file)
--- a/
src/shared/config.c
+++ b/
src/shared/config.c
@@
-77,7
+77,8
@@
static bool config_load_from_dict(config_t *c, const dictionary *ini)
if (extra_script) {
free(c->extra_script);
c->extra_script = extra_script;
- }
+ } else
+ _W("Out of memory. ExtraScript will not be executed.");
}
str = iniparser_getstring(ini, CRASH_SECTION ":ReportType", NULL);