summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorslavomir.katuscak%sun.com <devnull@localhost>2007-12-06 09:41:36 +0000
committerslavomir.katuscak%sun.com <devnull@localhost>2007-12-06 09:41:36 +0000
commitecdc3235e19ce374d4b3210505fff34016485090 (patch)
tree7235d494c0e8a24da7fa099478007fcd40cfd3c9
parent47b4e116aeeddff479b16bedaf13d572b9b59222 (diff)
downloadnss-hg-ecdc3235e19ce374d4b3210505fff34016485090.tar.gz
Bug 393183 - Patch. r=nelson,sr=christophe
-rw-r--r--security/nss/cmd/ocspclnt/ocspclnt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/nss/cmd/ocspclnt/ocspclnt.c b/security/nss/cmd/ocspclnt/ocspclnt.c
index 680a2f620..f86c5a2c5 100644
--- a/security/nss/cmd/ocspclnt/ocspclnt.c
+++ b/security/nss/cmd/ocspclnt/ocspclnt.c
@@ -1106,6 +1106,8 @@ main (int argc, char **argv)
}
}
+ PL_DestroyOptState(optstate);
+
if ((crequest + dresponse + prequest + presponse + ccert + vcert) != 1) {
PR_fprintf (PR_STDERR, "%s: must specify exactly one command\n\n",
program_name);
@@ -1282,7 +1284,7 @@ nssdone:
}
if (NSS_Shutdown () != SECSuccess) {
- exit(1);
+ retval = 1;
}
prdone: