[evolution-data-server/openismus-work-3-8] EBookBackendSqliteDB: Plugged leak.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work-3-8] EBookBackendSqliteDB: Plugged leak.
- Date: Thu, 24 Oct 2013 21:30:17 +0000 (UTC)
commit 9268cc60bde9b41ab82ab16ef45676da1d303736
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Thu Oct 24 23:20:10 2013 +0200
EBookBackendSqliteDB: Plugged leak.
Free the transliterator helper at finalize time along
with the collator.
.../libedata-book/e-book-backend-sqlitedb.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb.c
b/addressbook/libedata-book/e-book-backend-sqlitedb.c
index 75eb65d..99f6604 100644
--- a/addressbook/libedata-book/e-book-backend-sqlitedb.c
+++ b/addressbook/libedata-book/e-book-backend-sqlitedb.c
@@ -241,6 +241,9 @@ e_book_backend_sqlitedb_finalize (GObject *object)
if (priv->collator)
e_collator_unref (priv->collator);
+ if (priv->transliterator)
+ e_transliterator_unref (priv->transliterator);
+
g_mutex_clear (&priv->lock);
g_mutex_clear (&priv->updates_lock);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]