aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/liblzma/lzma/lzma_encoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/lzma/lzma_encoder.c b/src/liblzma/lzma/lzma_encoder.c
index 62bb6343..1f801453 100644
--- a/src/liblzma/lzma/lzma_encoder.c
+++ b/src/liblzma/lzma/lzma_encoder.c
@@ -651,6 +651,7 @@ lzma_lzma_encoder_create(void **coder_ptr,
&& options->preset_dict_size > 0;
coder->is_flushed = false;
coder->uncomp_size = 0;
+ coder->uncomp_size_ptr = NULL;
// Output size limitting is disabled by default.
coder->out_limit = 0;