From ec0820a46f72c19ac8ada64edc7ac1c4ecad90a0 Mon Sep 17 00:00:00 2001 From: Joe Shaw Date: Wed, 9 Jan 2002 20:33:50 +0000 Subject: Add a test for getting arbitrary fields. 2002-01-03 Joe Shaw * backend/ebook/test-card.c: Add a test for getting arbitrary fields. * backend/pas/pas-backend-card-sexp.c (compare_arbitrary): Added. (prop_info_table): Add a LIST_PROP for arbitrary fields. 2002-01-03 Nat Friedman * backend/ebook/e-book.c (activate_factories_for_uri): Free the query if the oaf response is of zero length. svn path=/trunk/; revision=15275 --- addressbook/backend/ebook/e-book.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 c260f3402a..d787ee8e01 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -643,6 +643,8 @@ activate_factories_for_uri (EBook *book, const char *uri) if (info_list->_length == 0) { g_warning ("Can't find installed BookFactory that handles protocol '%s'.", protocol); + g_free (protocol); + g_free (query); CORBA_exception_free (&ev); goto shutdown; } @@ -766,7 +768,6 @@ e_book_unload_uri (EBook *book) CORBA_exception_init (&ev); bonobo_object_release_unref (book->priv->corba_book, &ev); - if (ev._major != CORBA_NO_EXCEPTION) { g_warning ("e_book_unload_uri: Exception releasing " "remote book interface!\n"); -- cgit v1.2.3