small leftover
authorPierre Habouzit <madcoder@debian.org>
Fri, 24 Nov 2006 22:42:16 +0000 (23:42 +0100)
committerPierre Habouzit <madcoder@debian.org>
Fri, 24 Nov 2006 22:42:16 +0000 (23:42 +0100)
lib-crypt/pgp.c

index 8b53ffa..23df747 100644 (file)
@@ -1303,6 +1303,10 @@ BODY *pgp_traditional_encryptsign (BODY * a, int flags, char *keylist)
       fclose (pgpout);
       unlink (pgpoutfile);
     }
+    if (pgperr) {
+      fclose(pgperr);
+      unlink(pgperrfile);
+    }
     return NULL;
   }