diff options
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/pas/pas-backend-file.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index d23c4598d9..a9e22d4c9f 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2000-11-15 JP Rosevear <jpr@helixcode.com> + + * backend/pas/pas-backend-file.c (pas_backend_file_book_view_copy): + Initialize destination struct with '0's. + 2000-11-12 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card.c: Changed the mime type from "text/vcard" diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c index ee82c94b2d..299edaf52d 100644 --- a/addressbook/backend/pas/pas-backend-file.c +++ b/addressbook/backend/pas/pas-backend-file.c @@ -83,7 +83,7 @@ static PASBackendFileBookView * pas_backend_file_book_view_copy(const PASBackendFileBookView *book_view, void *closure) { PASBackendFileBookView *new_book_view; - new_book_view = g_new(PASBackendFileBookView, 1); + new_book_view = g_new0 (PASBackendFileBookView, 1); new_book_view->book_view = book_view->book_view; new_book_view->search = g_strdup(book_view->search); |