diff options
Diffstat (limited to 'addressbook/backend/ebook/e-book.c')
-rw-r--r-- | addressbook/backend/ebook/e-book.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-book.c b/addressbook/backend/ebook/e-book.c index 5a78fbe595..3bd13ea4ff 100644 --- a/addressbook/backend/ebook/e-book.c +++ b/addressbook/backend/ebook/e-book.c @@ -531,6 +531,7 @@ void e_book_unload_uri (EBook *book) { CORBA_Environment ev; + EBookListenerResponse *resp; g_return_if_fail (book != NULL); g_return_if_fail (E_IS_BOOK (book)); @@ -558,6 +559,8 @@ e_book_unload_uri (EBook *book) CORBA_exception_free (&ev); + while ((resp = e_book_listener_pop_response (book->priv->listener))) + g_free (resp); bonobo_object_unref (BONOBO_OBJECT (book->priv->listener)); book->priv->listener = NULL; |