Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: nss/mozilla/nsprpub/pr/src/md/unix/unix.c

Issue 650104: Update to NSS_3_12_6_RC1 and NSPR_4_8_4_RTM. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « nss/mozilla/nsprpub/pr/include/private/primpl.h ('k') | nss/mozilla/nsprpub/pr/src/misc/prinit.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/mozilla/nsprpub/pr/src/md/unix/unix.c
===================================================================
--- nss/mozilla/nsprpub/pr/src/md/unix/unix.c (revision 39534)
+++ nss/mozilla/nsprpub/pr/src/md/unix/unix.c (working copy)
@@ -2893,6 +2893,18 @@
_PR_InitIOV(); /* one last hack */
}
+void _PR_UnixCleanup(void)
+{
+ if (_pr_rename_lock) {
+ PR_DestroyLock(_pr_rename_lock);
+ _pr_rename_lock = NULL;
+ }
+ if (_pr_Xfe_mon) {
+ PR_DestroyMonitor(_pr_Xfe_mon);
+ _pr_Xfe_mon = NULL;
+ }
+}
+
#if !defined(_PR_PTHREADS)
/*
« no previous file with comments | « nss/mozilla/nsprpub/pr/include/private/primpl.h ('k') | nss/mozilla/nsprpub/pr/src/misc/prinit.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698