]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/export-raw.c
tree-wide: use mfree more
[thirdparty/systemd.git] / src / import / export-raw.c
index 6136b677ddeb730311c289b5b67c493b42c1e5a9..a3dbce195419ed8cd3dc74adc161bdb52ddad19d 100644 (file)
@@ -87,9 +87,7 @@ RawExport *raw_export_unref(RawExport *e) {
 
         free(e->buffer);
         free(e->path);
-        free(e);
-
-        return NULL;
+        return mfree(e);
 }
 
 int raw_export_new(