diff src/protocols/msn/session.c @ 5427:04e1e40b99b0

[gaim-migrate @ 5806] Fixed a tiny memleak in msn.c. Chip: the other leak memprof is complaining about is from line 134 of src/protocols/msn/servconn.c I tried freeing the hash table in msn_servocnn_destroy, but that resulted in a crash after signing on then off then on again. I don't know what's up with that, maybe it's not really a memleak. Also, I guess item factories aren't freed automatically? It seems like they should be, but gtkconv.c calls g_object_unref on the item factory explicitly, and not calling it on the item factory for the blist shows up as a memleak. So that should be fixed now. Oh, I also removed a function declaration for a static function... committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 18 May 2003 07:54:54 +0000
parents 8a74fbcb7bcb
children bf2a7a7b739d
line wrap: on
line diff
--- a/src/protocols/msn/session.c	Sun May 18 05:45:18 2003 +0000
+++ b/src/protocols/msn/session.c	Sun May 18 07:54:54 2003 +0000
@@ -66,6 +66,11 @@
 
 	msn_users_destroy(session->users);
 
+	g_free(session->passport_info.kv);
+	g_free(session->passport_info.sid);
+	g_free(session->passport_info.mspauth);
+	g_free(session->passport_info.file);
+
 	g_free(session);
 }