pidgin: b3328cd5: oscar: g_new0 cannot fail. It always abo...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun Aug 2 01:41:20 EDT 2009
-----------------------------------------------------------------
Revision: b3328cd5c5c4ce54e652aa6c9a5b8401391e2ec6
Ancestor: e4d0e2c1d7a47ae347eaa10bd26a72f88f3af974
Author: darkrain42 at pidgin.im
Date: 2009-08-02T03:58:52
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b3328cd5c5c4ce54e652aa6c9a5b8401391e2ec6
Modified files:
libpurple/protocols/oscar/family_icq.c
ChangeLog:
oscar: g_new0 cannot fail. It always aborts, right? Refs #9822.
-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/family_icq.c 8478e1d608643e29b1d5f52dc226c1efc8de7f6e
+++ libpurple/protocols/oscar/family_icq.c 2caa4ee744b182ae10da8b4791b318e72efcf90d
@@ -735,14 +735,6 @@ icqresponse(OscarData *od, FlapConnectio
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);
More information about the Commits
mailing list