# HG changeset patch # User Paul Aurich # Date 1271275122 0 # Node ID a3b78a080a5b80f4f0056c7f366e1bf180a7a3f1 # Parent 62cc2156961f72f99aba5b41e6a92db2e3b4130d# Parent 3bb9bef6ac2363d45d25105871663645ad7fdd53 merge of '1993306ee130a8c1c8eb294a1a05f86aa098cb9f' and 'e5c9e334137918bc4e82fa4a3305623348817152' diff -r 3bb9bef6ac23 -r a3b78a080a5b libpurple/protocols/simple/simple.c --- a/libpurple/protocols/simple/simple.c Wed Apr 14 16:43:12 2010 +0000 +++ b/libpurple/protocols/simple/simple.c Wed Apr 14 19:58:42 2010 +0000 @@ -1671,8 +1671,10 @@ buffer[len] = '\0'; purple_debug_info("simple", "\n\nreceived - %s\n######\n%s\n#######\n\n", ctime(&currtime), buffer); msg = sipmsg_parse_msg(buffer); - if(msg) process_input_message(sip, msg); - sipmsg_free(msg); + if (msg) { + process_input_message(sip, msg); + sipmsg_free(msg); + } } }