aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-11-16 03:55:39 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-11-16 03:55:39 +0800
commit302c05b4af296d2a412387717a47876aa6af290a (patch)
tree47b1297d911f1562cb6db6fa3dd118469590ac3f /addressbook/backend/pas
parent81f02f585503ca40d3274cba5acdc2ff4335f8eb (diff)
downloadgsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.tar.gz
gsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.tar.zst
gsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.zip
Initialize destination struct with '0's.
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. svn path=/trunk/; revision=6584
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
1 files changed, 1 insertions, 1 deletions
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);