From f67ab1912a841c0ed659e18a6e9feddddbb4f92d Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 27 Oct 2006 10:34:19 +0000 Subject: [PATCH] Fixed a memory leak --- src/uniq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/uniq.c b/src/uniq.c index de06018..5da6194 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -91,6 +91,7 @@ static int _uniq_do(int opts, char const * fields, unsigned int skip, len = 0; } _do_count(opts, skip, NULL, outfp); + free(line); return 0; }