aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
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
parent81f02f585503ca40d3274cba5acdc2ff4335f8eb (diff)
downloadgsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.tar
gsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.tar.gz
gsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.tar.bz2
gsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.tar.lz
gsoc2013-evolution-302c05b4af296d2a412387717a47876aa6af290a.tar.xz
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')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
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);