comparison 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
comparison
equal deleted inserted replaced
5426:8d8bf0d31a23 5427:04e1e40b99b0
63 63
64 g_slist_free(session->lists.allow); 64 g_slist_free(session->lists.allow);
65 g_slist_free(session->lists.block); 65 g_slist_free(session->lists.block);
66 66
67 msn_users_destroy(session->users); 67 msn_users_destroy(session->users);
68
69 g_free(session->passport_info.kv);
70 g_free(session->passport_info.sid);
71 g_free(session->passport_info.mspauth);
72 g_free(session->passport_info.file);
68 73
69 g_free(session); 74 g_free(session);
70 } 75 }
71 76
72 gboolean 77 gboolean