diff libpurple/protocols/oscar/flap_connection.c @ 22701:da3de0190be2

Used byte_stream_destroy(), added in 2e791da1fb1cfd6b751a0cef01aa83dc89692051, rather than a direct call to g_free(), in the remaining places it was found for ByteStreams.
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 24 Apr 2008 11:19:26 +0000
parents 979a81468e19
children ab2322195dab
line wrap: on
line diff
--- a/libpurple/protocols/oscar/flap_connection.c	Thu Apr 24 11:10:03 2008 +0000
+++ b/libpurple/protocols/oscar/flap_connection.c	Thu Apr 24 11:19:26 2008 +0000
@@ -988,7 +988,7 @@
 	byte_stream_rewind(&bs);
 	flap_connection_send_byte_stream(&bs, conn, bslen);
 
-	g_free(bs.data); /* XXX byte_stream_free */
+	byte_stream_destroy(&bs);
 }
 
 void