aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/main.c b/mail/main.c
index a88117b2c3..be35d52fd4 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -65,6 +65,11 @@ main (int argc, char *argv [])
signal (SIGSEGV, SIG_DFL);
signal (SIGBUS, SIG_DFL);
+ if (gdk_threads_mutex) {
+ g_mutex_free (gdk_threads_mutex);
+ gdk_threads_mutex = NULL;
+ }
+
GDK_THREADS_ENTER ();
bonobo_main ();
GDK_THREADS_LEAVE ();