diff --git a/check_glsa b/check_glsa
index 77350e34c42204d7b383ca074d6c82f5295580be..af50452533f1e1a27cf2a13742a8c1f538fd60f5 100755
--- a/check_glsa
+++ b/check_glsa
@@ -10,7 +10,7 @@ GLSA_TMP=`tempfile`
 GREP_TMP=`tempfile`
 PACKAGE_TMP=`tempfile`
 ERR_TMP=`tempfile`
-trap "rm $GLSA_TMP $GREP_TMP $ERR_TMP" 0
+trap "rm $GLSA_TMP $GREP_TMP $PACKAGE_TMP $ERR_TMP" 0
 glsa-check -l -n > $GLSA_TMP 2> $ERR_TMP
 RC=$?
 if [ $RC -ne 0 ]
diff --git a/check_hostextinfo b/check_hostextinfo
index 08e9426031406e1753271357afbce4766a36f256..96ef5a3dd6a20def39220a0e3d666dcf97790280 100755
--- a/check_hostextinfo
+++ b/check_hostextinfo
@@ -32,5 +32,5 @@ case $diffrv in
  *) echo CRITICAL - diff failed
     rv=2;;
 esac
-rm $HOSTEXT $HOSTS $DIFF
+rm $HOSTEXT $HOSTS $DIFF $MISSING $EXTRA
 exit $rv