summaryrefslogtreecommitdiffabout
path: root/sieve
authorSergey Poznyakoff <gray@gnu.org.ua>2003-08-29 19:12:32 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2003-08-29 19:12:32 (GMT)
commit46036003a55a8bc660b2955557a1d718e34d3a9b (patch) (side-by-side diff)
tree9bd0705aa46bc4c6b74b13fd0e1793e6b324caf9 /sieve
parentf23e20ffd01ec882ab2d9f102e2dfc657de76bbd (diff)
downloadmailutils-46036003a55a8bc660b2955557a1d718e34d3a9b.tar.gz
mailutils-46036003a55a8bc660b2955557a1d718e34d3a9b.tar.bz2
Destroy the mailbox if the attempt to open it has failed.
Diffstat (limited to 'sieve') (more/less context) (ignore whitespace changes)
-rw-r--r--sieve/sieve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c
index a147bb6..4ea7836 100644
--- a/sieve/sieve.c
+++ b/sieve/sieve.c
@@ -457,6 +457,7 @@ main (int argc, char *argv[])
{
mu_error (_("open on %s failed: %s"),
opts.mbox ? opts.mbox : _("default"), mu_strerror (rc));
+ mailbox_destroy (&mbox);
goto cleanup;
}

Return to:

Send suggestions and report system problems to the System administrator.