comparison libpurple/protocols/msn/httpconn.c @ 20946:2c039a40babc

More leak fixes.
author Daniel Atallah <daniel.atallah@gmail.com>
date Mon, 15 Oct 2007 03:07:16 +0000
parents 1d9d5de48b9e
children 0cbfc19e4909
comparison
equal deleted inserted replaced
20945:4cd97da26150 20946:2c039a40babc
685 685
686 g_free(httpconn->session_id); 686 g_free(httpconn->session_id);
687 687
688 g_free(httpconn->host); 688 g_free(httpconn->host);
689 689
690 while (httpconn->queue != NULL) {
691 MsnHttpQueueData *queue_data;
692
693 queue_data = (MsnHttpQueueData *) httpconn->queue->data;
694
695 httpconn->queue = g_list_remove_link(httpconn->queue, httpconn->queue);
696
697 g_free(queue_data->body);
698 g_free(queue_data);
699 }
700
690 purple_circ_buffer_destroy(httpconn->tx_buf); 701 purple_circ_buffer_destroy(httpconn->tx_buf);
691 if (httpconn->tx_handler > 0) 702 if (httpconn->tx_handler > 0)
692 purple_input_remove(httpconn->tx_handler); 703 purple_input_remove(httpconn->tx_handler);
693 704
694 g_free(httpconn); 705 g_free(httpconn);