diff libpurple/protocols/yahoo/yahoo_packet.c @ 15921:6a5089fafd19

Fix a small tooltip-related memleak
author Mark Doliner <mark@kingant.net>
date Sun, 25 Mar 2007 07:34:51 +0000
parents 32c366eeeb99
children 794abbe3e14e b81b1732fb64
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/yahoo_packet.c	Sun Mar 25 07:20:01 2007 +0000
+++ b/libpurple/protocols/yahoo/yahoo_packet.c	Sun Mar 25 07:34:51 2007 +0000
@@ -161,6 +161,7 @@
 		}
 
 		if (accept) {
+			/* TODO: strstr() should not be used here because data isn't NULL terminated */
 			delimiter = (const guchar *)strstr((char *)&data[pos], "\xc0\x80");
 			if (delimiter == NULL)
 			{