diff options
author | Dietmar Maurer <dietmar@ximian.com> | 2001-04-03 17:21:01 +0800 |
---|---|---|
committer | Dietmar Maurer <dietmar@src.gnome.org> | 2001-04-03 17:21:01 +0800 |
commit | 7fcc366eff9fd62138994ec40002bb237488bf06 (patch) | |
tree | 545857ca4e69a4a925e32b7285a698b17e91fca6 | |
parent | 7a4bd61930f826ceabf144bf1d4ca06592565e90 (diff) | |
download | gsoc2013-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
-rw-r--r-- | wombat/ChangeLog | 4 | ||||
-rw-r--r-- | wombat/wombat-moniker.c | 2 |
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; } |