Mercurial > pidgin.yaz
changeset 24359:42261d87854a
pkt can't ever be NULL here. It is only ever allocated once with g_newa(),
which segfaults on failure.
Fixes CID #395
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 14 Nov 2008 06:23:04 +0000 |
parents | f05c0530efe9 |
children | 61f825f8b3a2 |
files | libpurple/protocols/qq/qq_network.c |
diffstat | 1 files changed, 0 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/qq/qq_network.c Fri Nov 14 06:18:26 2008 +0000 +++ b/libpurple/protocols/qq/qq_network.c Fri Nov 14 06:23:04 2008 +0000 @@ -461,9 +461,6 @@ conn->tcp_rxqueue = NULL; } - if (pkt == NULL) { - continue; - } /* packet_process may call disconnect and destory data like conn * do not call packet_process before jump, * break if packet_process return FALSE */