aboutsummaryrefslogtreecommitdiffstats
path: root/wombat
diff options
context:
space:
mode:
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;
}