[libgda/gtk3] GdaMutex usage correction in GdaMetaStore
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/gtk3] GdaMutex usage correction in GdaMetaStore
- Date: Sun, 9 Jan 2011 19:21:29 +0000 (UTC)
commit ade276659c6faba592008c008e97ea42117d6df0
Author: Vivien Malerba <malerba gnome-db org>
Date: Sun Jan 9 16:27:17 2011 +0100
GdaMutex usage correction in GdaMetaStore
libgda/gda-meta-store.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgda/gda-meta-store.c b/libgda/gda-meta-store.c
index 3098463..f240da6 100644
--- a/libgda/gda-meta-store.c
+++ b/libgda/gda-meta-store.c
@@ -1,6 +1,6 @@
/* gda-meta-store.c
*
- * Copyright (C) 2008 - 2010 Vivien Malerba
+ * Copyright (C) 2008 - 2011 Vivien Malerba
*
* This Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as
@@ -3587,6 +3587,7 @@ gda_meta_store_set_attribute_value (GdaMetaStore *store, const gchar *att_name,
onerror:
if (started_transaction)
gda_connection_rollback_transaction (store->priv->cnc, NULL, NULL);
+ gda_mutex_unlock (store->priv->mutex);
return FALSE;
}
@@ -3842,7 +3843,6 @@ gda_meta_store_schema_add_custom_object (GdaMetaStore *store, const gchar *xml_d
g_object_unref (pstore);
if (mstruct)
g_object_unref (mstruct);
-
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]