From: Thomas Weißschuh Date: Mon, 17 Jul 2023 19:07:18 +0000 (+0200) Subject: column: fix memory leak X-Git-Tag: v2.40-rc1~327^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aad8a6079a5cfcf27344a2efdba61017049a927d;p=thirdparty%2Futil-linux.git column: fix memory leak Signed-off-by: Thomas Weißschuh --- diff --git a/text-utils/column.c b/text-utils/column.c index a443ab8b1d..ad3d8f3d7f 100644 --- a/text-utils/column.c +++ b/text-utils/column.c @@ -667,6 +667,8 @@ static int read_input(struct column_control *ctl, FILE *fp) } } while (rc == 0); + free(buf); + return rc; }