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) |
/* |