changeset 13261:3b04ab4d96db

[gaim-migrate @ 15627] The difference between g_new and g_new0 is very subtle. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 12 Feb 2006 23:53:55 +0000
parents 2d5a1d2a520e
children b08f8f3c9197
files src/protocols/oscar/session.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/session.c	Sun Feb 12 23:19:36 2006 +0000
+++ b/src/protocols/oscar/session.c	Sun Feb 12 23:53:55 2006 +0000
@@ -28,7 +28,7 @@
 {
 	OscarSession *sess;
 
-	sess = g_new(OscarSession, 1);
+	sess = g_new0(OscarSession, 1);
 
 	sess->queue_outgoing = NULL;
 	sess->queue_incoming = NULL;