Mercurial > pidgin.yaz
diff libpurple/protocols/msn/httpconn.c @ 20987:0cbfc19e4909
Fix some leaks caused by misuse of g_list_remove_link() instead of g_list_delete_link().
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 18 Oct 2007 20:20:57 +0000 |
parents | 2c039a40babc |
children | 84807b5e60fa |
line wrap: on
line diff
--- a/libpurple/protocols/msn/httpconn.c Thu Oct 18 18:13:30 2007 +0000 +++ b/libpurple/protocols/msn/httpconn.c Thu Oct 18 20:20:57 2007 +0000 @@ -692,7 +692,7 @@ queue_data = (MsnHttpQueueData *) httpconn->queue->data; - httpconn->queue = g_list_remove_link(httpconn->queue, httpconn->queue); + httpconn->queue = g_list_delete_link(httpconn->queue, httpconn->queue); g_free(queue_data->body); g_free(queue_data);