diff options
Diffstat (limited to 'src/import/export-raw.c')
-rw-r--r-- | src/import/export-raw.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/import/export-raw.c b/src/import/export-raw.c index db06e11b87..a3dbce1954 100644 --- a/src/import/export-raw.c +++ b/src/import/export-raw.c @@ -34,6 +34,7 @@ #include "fd-util.h" #include "fileio.h" #include "import-common.h" +#include "missing.h" #include "ratelimit.h" #include "string-util.h" #include "util.h" @@ -86,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( |