Fix a memory lead in interactive mode.
authorAndre Noll <maan@systemlinux.org>
Sat, 1 Nov 2008 22:56:46 +0000 (23:56 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 1 Nov 2008 22:56:46 +0000 (23:56 +0100)
interactive.c

index 28ef74a..8c5575f 100644 (file)
@@ -88,6 +88,7 @@ static int icom_set(char *line)
                return 1;
        }
 
+       free_format_info(fi);
        return parse_select_options(line, &params, &admissible_uids, &fi);
 }