From 17a415bd21dfa41e5ba2b9711a5170d3765d7eac Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Sun, 21 Oct 2001 00:19:25 +0000 Subject: We shouldn't leak the info returned by oaf_query. 2001-10-20 Jon Trowbridge * backend/ebook/e-book.c (activate_factories_for_uri): We shouldn't leak the info returned by oaf_query. * gui/contact-editor/e-contact-quick-add.c (card_added_cb): Remove superfluous call to quick_add_unref. (editor_closed_cb): Remove superfluous call to quick_add_unref. * gui/component/select-names/e-select-names.c (esn_get_key_fn): We need to unref the card returned by e_addressbook_model_get_card. svn path=/trunk/; revision=13834 --- addressbook/backend/ebook/e-book.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/backend/ebook/e-book.c') diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c index 251a2fa6f9..41d5ec7e06 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -662,6 +662,8 @@ activate_factories_for_uri (EBook *book, const char *uri) factory); } + CORBA_free (info_list); + if (!book->priv->book_factories) { g_warning ("Couldn't activate any book factories."); return FALSE; -- cgit v1.2.3