Blame SOURCES/BZ-2091000-remove-tmp-file.patch

e0bf38
From 864844ecc11f8cf65cd97bcffdb803211f7edaa4 Mon Sep 17 00:00:00 2001
e0bf38
From: Piotr Wilkosz <piotr.wilkosz@gmail.com>
e0bf38
Date: Mon, 23 May 2022 16:14:13 +0200
e0bf38
Subject: [PATCH] remove tmp file at exit
e0bf38
e0bf38
---
e0bf38
 src/fallback.c | 1 +
e0bf38
 1 file changed, 1 insertion(+)
e0bf38
e0bf38
diff --git a/src/fallback.c b/src/fallback.c
e0bf38
index c907a34..e67654a 100644
e0bf38
--- a/src/fallback.c
e0bf38
+++ b/src/fallback.c
e0bf38
@@ -246,6 +246,7 @@ scl_rc fallback_run_command(char * const colnames[], const char *cmd, bool exec)
e0bf38
     enable_path = _free(enable_path);
e0bf38
     colpath = _free(colpath);
e0bf38
     bash_cmd = _free(bash_cmd);
e0bf38
+    unlink(tmp);
e0bf38
 
e0bf38
     return ret;
e0bf38
 }