summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-11-25 13:29:51 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-11-25 13:29:51 +0100
commitfbfc0388531050aea764e68640e07ca776448aa1 (patch)
tree52c078aa2aea913c5f30abfddee657f17fdee31b /src/lib
parentdcbb7fbe48c77998857e4ccd70d2fb29f41974f0 (diff)
downloadabrt-fbfc0388531050aea764e68640e07ca776448aa1.tar.gz
abrt-fbfc0388531050aea764e68640e07ca776448aa1.tar.xz
abrt-fbfc0388531050aea764e68640e07ca776448aa1.zip
abrtd: suppress spurious warning about missing coredump and inform_all
Also plugs two memory leaks Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/run_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/run_event.c b/src/lib/run_event.c
index 90b7b2f2..4ff1070d 100644
--- a/src/lib/run_event.c
+++ b/src/lib/run_event.c
@@ -235,7 +235,7 @@ char *list_possible_events(struct dump_dir *dd, const char *dump_dir_name, const
if (!dd)
goto stop; /* error (note: dd_opendir logged error msg) */
}
- char *real_val = dd_load_text(dd, p);
+ char *real_val = dd_load_text_ext(dd, p, DD_FAIL_QUIETLY);
/* Does VAL match? */
if (strcmp(real_val, line_val) != 0)
{