[tracker/async-queries] libtracker-db: Fix NULL interface_pool unref
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries] libtracker-db: Fix NULL interface_pool unref
- Date: Wed, 14 Apr 2010 08:26:10 +0000 (UTC)
commit 7c3f8d7c6e4b9be77d009e453df98715facd5ccc
Author: Jürg Billeter <j bitron ch>
Date: Wed Apr 14 10:25:28 2010 +0200
libtracker-db: Fix NULL interface_pool unref
src/libtracker-db/tracker-db-manager.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-db/tracker-db-manager.c b/src/libtracker-db/tracker-db-manager.c
index cccf6db..9c5cb01 100644
--- a/src/libtracker-db/tracker-db-manager.c
+++ b/src/libtracker-db/tracker-db-manager.c
@@ -990,8 +990,10 @@ tracker_db_manager_shutdown (void)
g_free (in_use_filename);
- g_object_unref (interface_pool);
- interface_pool = NULL;
+ if (interface_pool) {
+ g_object_unref (interface_pool);
+ interface_pool = NULL;
+ }
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]