journal: fix minor memory leak

This commit is contained in:
Lennart Poettering
2013-11-08 14:07:27 +01:00
parent 6fd4d02098
commit baabc09191
+1 -1
View File
@@ -1276,7 +1276,7 @@ static void check_network(sd_journal *j, int fd) {
static bool file_has_type_prefix(const char *prefix, const char *filename) {
const char *full, *tilded, *atted;
full = strappend(prefix, ".journal");
full = strappenda(prefix, ".journal");
tilded = strappenda(full, "~");
atted = strappenda(prefix, "@");