aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--addressbook/backend/pas/pas-card-cursor.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 296c7859fc..1bfdc6219f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,9 @@
2000-03-28 Chris Toshok <toshok@laptoph.xtoph.org>
+ * addressbook/backend/pas/pas-card-cursor.c (create_cursor): use
+ g_new0 to allocate the BonoboObjectServant.
+
* addressbook/backend/pas/pas-backend-file.c
(pas_backend_file_build_all_cards_list): remove unnecessary
strdup/free.
diff --git a/addressbook/backend/pas/pas-card-cursor.c b/addressbook/backend/pas/pas-card-cursor.c
index 3f66848332..7def4b436e 100644
--- a/addressbook/backend/pas/pas-card-cursor.c
+++ b/addressbook/backend/pas/pas-card-cursor.c
@@ -184,7 +184,7 @@ create_cursor (BonoboObject *cursor)
POA_Evolution_CardCursor *servant;
CORBA_Environment ev;
- servant = (POA_Evolution_CardCursor *) g_new (BonoboObjectServant, 1);
+ servant = (POA_Evolution_CardCursor *) g_new0 (BonoboObjectServant, 1);
servant->vepv = &cursor_vepv;
CORBA_exception_init (&ev);