diff options
Diffstat (limited to 'lib/common/compress.c')
-rw-r--r-- | lib/common/compress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/compress.c b/lib/common/compress.c index b11efbd..1e0ca06 100644 --- a/lib/common/compress.c +++ b/lib/common/compress.c @@ -32,7 +32,7 @@ SQFS_COMPRESSOR compressor_get_default(void) ret = sqfs_compressor_create(&cfg, &temp); if (ret == 0) { - sqfs_destroy(temp); + sqfs_drop(temp); return cmp_ids[i]; } } @@ -64,7 +64,7 @@ void compressor_print_available(void) have_compressor = false; if (ret == 0) { - sqfs_destroy(temp); + sqfs_drop(temp); have_compressor = true; } else { #ifdef WITH_LZO |