summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2011-02-06 18:22:20 +0100
committerJean Delvare <jdelvare@suse.de>2011-02-06 18:22:20 +0100
commitde13f097662d785863f52c1cdaca125cebfe40d2 (patch)
tree142a9989f53c3f3e08c40f890500720f648de736
parent1b628cfadba810a83ac0dfe4931153a4ee4a8f02 (diff)
downloadquilt-de13f097662d785863f52c1cdaca125cebfe40d2.tar.gz
quilt mail: Fix a temporary directory leak.
-rw-r--r--quilt.changes5
-rw-r--r--quilt/mail.in1
2 files changed, 6 insertions, 0 deletions
diff --git a/quilt.changes b/quilt.changes
index 1699f55..22235f9 100644
--- a/quilt.changes
+++ b/quilt.changes
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Sun Feb 6 18:03:29 CET 2011 - jdelvare@suse.de
+
+- quilt/mail.in: Fix a temporary directory leak.
+
+-------------------------------------------------------------------
Sun Feb 6 17:50:26 CET 2011 - jdelvare@suse.de
- Makefile.in: Don't build quilt.spec by default, it's only needed
diff --git a/quilt/mail.in b/quilt/mail.in
index a2cf2d5..d16b3c1 100644
--- a/quilt/mail.in
+++ b/quilt/mail.in
@@ -350,6 +350,7 @@ then
if [ -z "$subject" ]
then
+ rm -rf $tmpdir
return 1
fi