From e26c7f621269452232d57a31382d29daab2bff05 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Apr 2002 16:03:15 +0200 Subject: [PATCH] don't leave the i_tmpfile lying around --- ccache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ccache.c b/ccache.c index 94559aba6..6a37ccc62 100644 --- a/ccache.c +++ b/ccache.c @@ -135,6 +135,9 @@ static void to_cache(ARGS *args) copy_fd(fd, 2); close(fd); unlink(tmp_stderr); + if (i_tmpfile) { + unlink(i_tmpfile); + } exit(status); } -- 2.47.3