]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/journal/journal-file.c
tree-wide: use mfree more
[thirdparty/systemd.git] / src / journal / journal-file.c
index 49199b269f26708aadbe4824b62fa35e326c100e..d3e021473185b09750d547efbd7a3c55b5a825e5 100644 (file)
@@ -394,8 +394,7 @@ JournalFile* journal_file_close(JournalFile *f) {
                 gcry_md_close(f->hmac);
 #endif
 
-        free(f);
-        return NULL;
+        return mfree(f);
 }
 
 void journal_file_close_set(Set *s) {