diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-11-22 14:54:21 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2002-11-22 14:54:21 +0000 |
commit | 9b12712c43833fe8678e78f0fad9299e61048530 (patch) | |
tree | 310208fcae8624a98bfdcf22dd2d0e132bcc9378 /sieve | |
parent | 7ba0b59103e84fe09d8982d7bb86f2303a4cbd61 (diff) | |
download | mailutils-9b12712c43833fe8678e78f0fad9299e61048530.tar.gz mailutils-9b12712c43833fe8678e78f0fad9299e61048530.tar.bz2 |
(main): Removed unneded goto. Added call to sieve_machine_destroy at the end.
Diffstat (limited to 'sieve')
-rw-r--r-- | sieve/sieve.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sieve/sieve.c b/sieve/sieve.c index a120928db..3cb2bfcf0 100644 --- a/sieve/sieve.c +++ b/sieve/sieve.c @@ -447,10 +447,6 @@ main (int argc, char *argv[]) /* Process the mailbox */ rc = sieve_mailbox (mach, mbox); - if (rc) - { - goto cleanup; - } cleanup: if (mbox && !(opts.sieve_debug & MU_SIEVE_DRY_RUN)) @@ -469,6 +465,7 @@ cleanup: rc = e; } + sieve_machine_destroy (&mach); mailbox_close (mbox); mailbox_destroy (&mbox); mu_debug_destroy (&debug, mach); |