summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaie%kuix.de <devnull@localhost>2012-11-14 20:51:53 +0000
committerkaie%kuix.de <devnull@localhost>2012-11-14 20:51:53 +0000
commitc2250f5f38c4036699368b5cf7bf4c44b8871771 (patch)
treed032a57c014f245ca0690da47bc9fe0a84a8dfec
parentcd931cba7e336a0c2a09f290323677d2bb782903 (diff)
downloadnss-hg-c2250f5f38c4036699368b5cf7bf4c44b8871771.tar.gz
move variable assignment to fix bustage
-rw-r--r--security/nss/lib/softoken/sdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/sdb.c b/security/nss/lib/softoken/sdb.c
index 5b4e232f5..100f7d9ea 100644
--- a/security/nss/lib/softoken/sdb.c
+++ b/security/nss/lib/softoken/sdb.c
@@ -1838,9 +1838,9 @@ sdb_init(char *dbname, char *table, sdbDataType type, int *inUpdate,
if (!tempDir) {
tempDir = tempnam(NULL, NULL);
if (tempDir) {
- mustFreeTempDir = PR_TRUE;
char dirsep = PR_GetDirectorySeparator();
char *end = PORT_Strrchr(tempDir, dirsep);
+ mustFreeTempDir = PR_TRUE;
if (end) {
/* We shorten the temp filename string to contain
* only the directory name.