diff src/protocols/oscar/email.c @ 4875:26837f462a66

[gaim-migrate @ 5205] faceprint inspired me to fix two memleaks in oscar. One leaks the size of every message sent over a direct connection, the other leaks 10-20 bytes every 3 or 4 minutes. Meow. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 23 Mar 2003 19:43:58 +0000
parents 0b64f386a7b8
children 4375bf2d9020
line wrap: on
line diff
--- a/src/protocols/oscar/email.c	Sun Mar 23 18:47:33 2003 +0000
+++ b/src/protocols/oscar/email.c	Sun Mar 23 19:43:58 2003 +0000
@@ -128,6 +128,8 @@
 	if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
 		ret = userfunc(sess, rx, new, havenewmail);
 
+	aim_freetlvchain(&tlvlist);
+
 	return ret;
 }