changeset 27796:aca8afc93264

oscar: g_new0 cannot fail. It always aborts, right? Refs #9822.
author Paul Aurich <paul@darkrain42.org>
date Sun, 02 Aug 2009 03:58:52 +0000
parents 3eef8392a54b
children 0a056130718e
files libpurple/protocols/oscar/family_icq.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_icq.c	Sun Aug 02 03:00:00 2009 +0000
+++ b/libpurple/protocols/oscar/family_icq.c	Sun Aug 02 03:58:52 2009 +0000
@@ -735,14 +735,6 @@
 
 				info = g_new0(struct aim_icq_info, 1);
 
-				if (info == NULL)
-				{
-					g_free(uin);
-					g_free(status_note_title);
-
-					break;
-				}
-
 				bslen = 13 + strlen(uin) + 30 + 6 + 4 + 55 + 85 + 4;
 				byte_stream_new(&bs, 4 + bslen);