summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-01-19 17:02:37 +0100
committerLennart Poettering <lennart@poettering.net>2015-01-19 20:24:10 +0100
commit0716faad4a846d5f3cdce4bf37648d3254b9332f (patch)
treea772c08c0d15f36444ccf66bf28a8ad6e55757f6
parentc19de71113f956809995fc68817e055e9f61f607 (diff)
import: make sure don't leak the LZMA context
-rw-r--r--src/import/import-raw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/import/import-raw.c b/src/import/import-raw.c
index 361e30ac83..da72725f3c 100644
--- a/src/import/import-raw.c
+++ b/src/import/import-raw.c
@@ -104,6 +104,7 @@ static RawImportFile *raw_import_file_unref(RawImportFile *f) {
free(f->temp_path);
}
+ lzma_end(&f->lzma);
free(f->url);
free(f->local);
free(f->etag);