[gaim-migrate @ 15627]

Sun, 12 Feb 2006 23:53:55 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sun, 12 Feb 2006 23:53:55 +0000
changeset 13262
8eaceed53dec
parent 13261
5f61677c4c68
child 13263
7e84acb27008

[gaim-migrate @ 15627]
The difference between g_new and g_new0 is very subtle.

src/protocols/oscar/session.c file | annotate | diff | comparison | revisions
--- 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;

mercurial