From 95688b0833f9845f0e8db6c01c56996e953e6eff Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Thu, 17 May 2018 14:38:12 +1000 Subject: [PATCH] Silence tiny leak warning. --- lrzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lrzip.c b/lrzip.c index 37b96ac..7b35b24 100644 --- a/lrzip.c +++ b/lrzip.c @@ -1321,7 +1321,7 @@ bool initialise_control(rzip_control *control) control->msgerr = stderr; register_outputfile(control, control->msgout); control->flags = FLAG_SHOW_PROGRESS | FLAG_KEEP_FILES | FLAG_THRESHOLD; - control->suffix = strdup(".lrz"); + control->suffix = ".lrz"; control->compression_level = 7; control->ramsize = get_ram(control); if (unlikely(control->ramsize == -1))