Fix double free in ticproc

This commit is contained in:
Andrew Pamment 2017-09-13 10:31:53 +10:00
parent d18accdbcb
commit bdeab02c79

View File

@ -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<ticfile.desc_lines;i++) {