diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sqfs/comp/compressor.c | 2 |
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; |