diff libpurple/protocols/msn/oim.c @ 22828:7d3b2c023ad8

This is the way we plug the leaks, plug the leaks, plug the leaks...
author Daniel Atallah <daniel.atallah@gmail.com>
date Sat, 03 May 2008 17:56:04 +0000
parents 7ac87187bbec
children f62a4a7fe365
line wrap: on
line diff
--- a/libpurple/protocols/msn/oim.c	Sat May 03 17:38:33 2008 +0000
+++ b/libpurple/protocols/msn/oim.c	Sat May 03 17:56:04 2008 +0000
@@ -170,7 +170,6 @@
 								msg->oim_msg);
 							g_queue_push_head(oim->send_queue, msg);
 							msn_oim_send_msg(oim);
-							return;
 						} else {
 							purple_debug_info("msnoim",
 								"can't find lock key for OIM: %s\n",
@@ -191,9 +190,10 @@
 						purple_debug_info("MSNP14","resending OIM: %s\n", msg->oim_msg);
 						g_queue_push_head(oim->send_queue, msg);
 						msn_oim_send_msg(oim);
-						return;
 					}
 				}
+
+				g_free(faultcode_str);
 			}
 		}
 	}