summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/src/cplus/rclock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'nsprpub/pr/src/cplus/rclock.cpp')
-rw-r--r--nsprpub/pr/src/cplus/rclock.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/nsprpub/pr/src/cplus/rclock.cpp b/nsprpub/pr/src/cplus/rclock.cpp
index 60d13b887..8c106de08 100644
--- a/nsprpub/pr/src/cplus/rclock.cpp
+++ b/nsprpub/pr/src/cplus/rclock.cpp
@@ -18,7 +18,9 @@ RCLock::RCLock()
RCLock::~RCLock()
{
- if (NULL != lock) PR_DestroyLock(lock);
+ if (NULL != lock) {
+ PR_DestroyLock(lock);
+ }
lock = NULL;
} /* RCLock::~RCLock */