From 6ba417b085e0e7049f99bfd63c492468a14c7e8c Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 29 Mar 2000 03:26:37 +0000 Subject: use g_new0 to allocate the BonoboObjectServant. * addressbook/backend/pas/pas-card-cursor.c (create_cursor): use g_new0 to allocate the BonoboObjectServant. svn path=/trunk/; revision=2243 --- addressbook/backend/pas/pas-card-cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook') 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); -- cgit v1.2.3