[evolution-data-server] Missing mutex initialization in EDataBook/CalFactory
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Missing mutex initialization in EDataBook/CalFactory
- Date: Wed, 7 Aug 2013 07:56:47 +0000 (UTC)
commit 23acbe724112407cbe2b2668c1ce29d6b4a7be51
Author: Milan Crha <mcrha redhat com>
Date: Wed Aug 7 09:55:37 2013 +0200
Missing mutex initialization in EDataBook/CalFactory
addressbook/libedata-book/e-data-book-factory.c | 1 +
calendar/libedata-cal/e-data-cal-factory.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book-factory.c b/addressbook/libedata-book/e-data-book-factory.c
index 900e3e2..bb8321c 100644
--- a/addressbook/libedata-book/e-data-book-factory.c
+++ b/addressbook/libedata-book/e-data-book-factory.c
@@ -592,6 +592,7 @@ e_data_book_factory_init (EDataBookFactory *factory)
(GDestroyNotify) g_ptr_array_unref);
g_mutex_init (&factory->priv->connections_lock);
+ g_mutex_init (&factory->priv->watched_names_lock);
factory->priv->watched_names = g_hash_table_new_full (
(GHashFunc) g_str_hash,
diff --git a/calendar/libedata-cal/e-data-cal-factory.c b/calendar/libedata-cal/e-data-cal-factory.c
index 80d383a..098b6ca 100644
--- a/calendar/libedata-cal/e-data-cal-factory.c
+++ b/calendar/libedata-cal/e-data-cal-factory.c
@@ -668,6 +668,7 @@ e_data_cal_factory_init (EDataCalFactory *factory)
(GDestroyNotify) g_ptr_array_unref);
g_mutex_init (&factory->priv->connections_lock);
+ g_mutex_init (&factory->priv->watched_names_lock);
factory->priv->watched_names = g_hash_table_new_full (
(GHashFunc) g_str_hash,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]