From bdeab02c7914c0f6c94145a93a144dde2e69ed3f Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Wed, 13 Sep 2017 10:31:53 +1000 Subject: [PATCH] Fix double free in ticproc --- utils/ticproc/ticproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/ticproc/ticproc.c b/utils/ticproc/ticproc.c index f1d7a6d..51bf10a 100644 --- a/utils/ticproc/ticproc.c +++ b/utils/ticproc/ticproc.c @@ -393,7 +393,7 @@ int process_tic_file(char *ticfilen) { free(ticfile.file); } if (ticfile.lname != NULL) { - free(ticfile.file); + free(ticfile.lname); } if (ticfile.desc_lines > 0) { for (i=0;i