projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f89986
)
sd-journal: return null when mmap_cache_new fails
author
Lukas Nykryn
<lnykryn@redhat.com>
Thu, 23 Aug 2012 10:28:47 +0000
(12:28 +0200)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Thu, 23 Aug 2012 11:53:30 +0000
(13:53 +0200)
src/journal/sd-journal.c
patch
|
blob
|
history
diff --git
a/src/journal/sd-journal.c
b/src/journal/sd-journal.c
index
725c979
..
0f7c02c
100644
(file)
--- a/
src/journal/sd-journal.c
+++ b/
src/journal/sd-journal.c
@@
-1445,6
+1445,7
@@
static sd_journal *journal_new(int flags, const char *path) {
hashmap_free(j->directories_by_path);
free(j->path);
free(j);
+ return NULL;
}
return j;