various: fix memory leaks

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2013-11-03 14:28:42 +00:00
parent 8da98bbc89
commit d2d8abd660
4 changed files with 11 additions and 5 deletions

View file

@ -213,6 +213,7 @@ comparer_t field_selector(char c)
case 'e':
return comp_tcperc;
default:
clean_up();
warnx("field_selector: unknown sort order `%c'", c);
errx(EXIT_FAILURE, "Try `%s --help' for more information.",
program_name);