9fc0f6
From 9d2d041c768d1597cd556a322e4eb3d1d623f318 Mon Sep 17 00:00:00 2001
9fc0f6
From: Lennart Poettering <lennart@poettering.net>
9fc0f6
Date: Fri, 8 Nov 2013 13:53:25 +0100
9fc0f6
Subject: [PATCH] journal: fix minor memory leak
9fc0f6
9fc0f6
---
9fc0f6
 src/journal/sd-journal.c | 2 +-
9fc0f6
 1 file changed, 1 insertion(+), 1 deletion(-)
9fc0f6
9fc0f6
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
9fc0f6
index 7700d6c..9676f0f 100644
9fc0f6
--- a/src/journal/sd-journal.c
9fc0f6
+++ b/src/journal/sd-journal.c
9fc0f6
@@ -1276,7 +1276,7 @@ static void check_network(sd_journal *j, int fd) {
9fc0f6
 static bool file_has_type_prefix(const char *prefix, const char *filename) {
9fc0f6
         const char *full, *tilded, *atted;
9fc0f6
 
9fc0f6
-        full = strappend(prefix, ".journal");
9fc0f6
+        full = strappenda(prefix, ".journal");
9fc0f6
         tilded = strappenda(full, "~");
9fc0f6
         atted = strappenda(prefix, "@");
9fc0f6