From 5ceee6bee1ea09f43ebe6c1fc7ae87993a1daaae Mon Sep 17 00:00:00 2001 From: Chris Sarra Date: Wed, 19 Aug 2020 14:56:44 -0700 Subject: Patch out memory leak in tar.c --- toys/posix/tar.c | 1 - 1 file changed, 1 deletion(-) (limited to 'toys') diff --git a/toys/posix/tar.c b/toys/posix/tar.c index 4b8dd901..bd738af4 100644 --- a/toys/posix/tar.c +++ b/toys/posix/tar.c @@ -263,7 +263,6 @@ static int add_to_tar(struct dirtree *node) // !i because hardlink to a symlink is a thing. if (!i && S_ISLNK(st->st_mode)) { i = 2; - lnk = xreadlink(name); } // Handle file types -- cgit v1.2.3