]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/export-raw.c
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / import / export-raw.c
index 6136b677ddeb730311c289b5b67c493b42c1e5a9..8485027b2b53ddc9123665feb80898e8f9dc7a1e 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
   This file is part of systemd.
 
@@ -87,9 +88,7 @@ RawExport *raw_export_unref(RawExport *e) {
 
         free(e->buffer);
         free(e->path);
-        free(e);
-
-        return NULL;
+        return mfree(e);
 }
 
 int raw_export_new(