libpurple/protocols/oscar/oscar_data.c

changeset 40008
73ed25ee0008
parent 38433
361c801c4536
child 40052
cc03b5af25ea
--- a/libpurple/protocols/oscar/oscar_data.c	Fri Oct 11 02:17:48 2019 -0400
+++ b/libpurple/protocols/oscar/oscar_data.c	Wed Oct 09 21:05:42 2019 -0400
@@ -105,8 +105,11 @@
 {
 	aim_cleansnacs(od, -1);
 
-	/* Only used when connecting with clientLogin */
-	purple_http_conn_cancel(od->hc);
+	/* Only used when connecting with clientLogin or Kerberos. */
+	if (od->http_conns) {
+		soup_session_abort(od->http_conns);
+		g_object_unref(od->http_conns);
+	}
 
 	while (od->requesticon)
 	{

mercurial