diff src/protocols/oscar/email.c @ 7313:be7c1468c6a7

[gaim-migrate @ 7897] I thought I commited some of this a while ago... oh well. None of it is really important at all. I uncommented the available message stuff, it might work for some people (Sam), but doesn't work for me. I don't want to have to comment this out again before 0.72... so someone get this working (Sam). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 22 Oct 2003 03:32:21 +0000
parents ceda503e55a6
children 92cbf9713795
line wrap: on
line diff
--- a/src/protocols/oscar/email.c	Wed Oct 22 02:01:30 2003 +0000
+++ b/src/protocols/oscar/email.c	Wed Oct 22 03:32:21 2003 +0000
@@ -132,10 +132,13 @@
 	alerturl  = aim_tlv_getstr(tlvlist, 0x000d, 1);
 	
 	if ((userfunc = aim_callhandler(sess, rx->conn, snac->family, snac->subtype)))
-		ret = userfunc(sess, rx, new, havenewmail, alertitle, alerturl + 2);
+		ret = userfunc(sess, rx, new, havenewmail, alertitle, (alerturl ? alerturl + 2 : NULL));
 
 	aim_tlvlist_free(&tlvlist);
 
+	free(alertitle);
+	free(alerturl);
+
 	return ret;
 }