chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
import: make sure don't leak the LZMA context
[elogind.git]
/
src
/
import
/
import-raw.c
diff --git
a/src/import/import-raw.c
b/src/import/import-raw.c
index 361e30ac83126fcb802a3b1964afa35e362d077d..da72725f3cae9090c64548dedcd014393e4a9477 100644
(file)
--- 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);