comparison libpurple/protocols/msn/directconn.c @ 30935:2de522fa534a

Fix a lot more leaks, some old, some new.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 21 Nov 2010 09:56:48 +0000
parents dec85cefc758
children 2f2c45abb3af
comparison
equal deleted inserted replaced
30934:4e097dfb7784 30935:2de522fa534a
631 case DC_STATE_ESTABLISHED: 631 case DC_STATE_ESTABLISHED:
632 632
633 if (dc->header.length) { 633 if (dc->header.length) {
634 part = msn_slpmsgpart_new_from_data(dc->in_buffer + 4, dc->header.length); 634 part = msn_slpmsgpart_new_from_data(dc->in_buffer + 4, dc->header.length);
635 msn_slplink_process_msg(dc->slplink, part); 635 msn_slplink_process_msg(dc->slplink, part);
636 msn_slpmsgpart_destroy(part);
636 } 637 }
637 638
638 /* 639 /*
639 if (dc->num_calls == 0) { 640 if (dc->num_calls == 0) {
640 msn_dc_destroy(dc); 641 msn_dc_destroy(dc);