[evolution-data-server/treitter-client-gdbus] Don't leak a temporary addressbook in the remove-contact-by-id test.



commit ca67d4ee6a5f72defbbcae4c68d2ec40ea5264ec
Author: Travis Reitter <treitter gmail com>
Date:   Wed Dec 9 10:44:08 2009 -0800

    Don't leak a temporary addressbook in the remove-contact-by-id test.

 .../tests/ebook/test-ebook-remove-contact-by-id.c  |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/addressbook/tests/ebook/test-ebook-remove-contact-by-id.c b/addressbook/tests/ebook/test-ebook-remove-contact-by-id.c
index 7f5a497..d6c9ac2 100644
--- a/addressbook/tests/ebook/test-ebook-remove-contact-by-id.c
+++ b/addressbook/tests/ebook/test-ebook-remove-contact-by-id.c
@@ -14,12 +14,6 @@ main (gint argc, gchar **argv)
         g_type_init ();
         
         /*
-         * Setup
-         */
-        book = ebook_test_utils_book_new_temp (NULL);
-        ebook_test_utils_book_open (book, FALSE);
-
-        /*
          * Async version
          */
         book = ebook_test_utils_book_new_temp (NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]