aboutsummaryrefslogtreecommitdiffstats
path: root/wombat
diff options
context:
space:
mode:
authorDietmar Maurer <dietmar@ximian.com>2001-04-03 17:21:01 +0800
committerDietmar Maurer <dietmar@src.gnome.org>2001-04-03 17:21:01 +0800
commit7fcc366eff9fd62138994ec40002bb237488bf06 (patch)
tree545857ca4e69a4a925e32b7285a698b17e91fca6 /wombat
parent7a4bd61930f826ceabf144bf1d4ca06592565e90 (diff)
downloadgsoc2013-evolution-7fcc366eff9fd62138994ec40002bb237488bf06.tar
gsoc2013-evolution-7fcc366eff9fd62138994ec40002bb237488bf06.tar.gz
gsoc2013-evolution-7fcc366eff9fd62138994ec40002bb237488bf06.tar.bz2
gsoc2013-evolution-7fcc366eff9fd62138994ec40002bb237488bf06.tar.lz
gsoc2013-evolution-7fcc366eff9fd62138994ec40002bb237488bf06.tar.xz
gsoc2013-evolution-7fcc366eff9fd62138994ec40002bb237488bf06.tar.zst
gsoc2013-evolution-7fcc366eff9fd62138994ec40002bb237488bf06.zip
fix ref. counting problem
2001-04-03 Dietmar Maurer <dietmar@ximian.com> * wombat-moniker.c (wombat_lookup_db): fix ref. counting problem svn path=/trunk/; revision=9126
Diffstat (limited to 'wombat')
-rw-r--r--wombat/ChangeLog4
-rw-r--r--wombat/wombat-moniker.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/wombat/ChangeLog b/wombat/ChangeLog
index b31353b24e..fda6fc5e00 100644
--- a/wombat/ChangeLog
+++ b/wombat/ChangeLog
@@ -1,3 +1,7 @@
+2001-04-03 Dietmar Maurer <dietmar@ximian.com>
+
+ * wombat-moniker.c (wombat_lookup_db): fix ref. counting problem
+
2001-03-27 Dietmar Maurer <dietmar@ximian.com>
* wombat-moniker.c (wombat_moniker_resolve): we can now resolve to
diff --git a/wombat/wombat-moniker.c b/wombat/wombat-moniker.c
index 4083820977..eb413dc34d 100644
--- a/wombat/wombat-moniker.c
+++ b/wombat/wombat-moniker.c
@@ -78,6 +78,8 @@ wombat_lookup_db (CORBA_Environment *ev)
db = bonobo_get_object (DB_URL,
"IDL:Bonobo/ConfigDatabase:1.0", ev);
+ bonobo_object_dup_ref (db, ev);
+
return db;
}