summaryrefslogtreecommitdiff
path: root/lib/sqfs/comp/compressor.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/comp/compressor.c')
-rw-r--r--lib/sqfs/comp/compressor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sqfs/comp/compressor.c b/lib/sqfs/comp/compressor.c
index f079651..4c4d73c 100644
--- a/lib/sqfs/comp/compressor.c
+++ b/lib/sqfs/comp/compressor.c
@@ -92,6 +92,8 @@ int sqfs_compressor_create(const sqfs_compressor_config_t *cfg,
sqfs_u8 padd0[sizeof(cfg->opt)];
int ret;
+ *out = NULL;
+
/* check compressor ID */
if (cfg == NULL)
return SQFS_ERROR_ARG_INVALID;