diff libpurple/protocols/oscar/oft.c @ 22702:6f5f0a4de7f4

Fixed the final stragglers in need of byte_stream_destroy()
author Evan Schoenberg <evan.s@dreskin.net>
date Thu, 24 Apr 2008 11:28:20 +0000
parents 35b4f1dc4c8d
children 6e1967b0f90b eeee264cd325
line wrap: on
line diff
--- a/libpurple/protocols/oscar/oft.c	Thu Apr 24 11:19:26 2008 +0000
+++ b/libpurple/protocols/oscar/oft.c	Thu Apr 24 11:28:20 2008 +0000
@@ -304,7 +304,7 @@
 
 	peer_connection_send(conn, &bs);
 
-	g_free(bs.data);
+	byte_stream_destroy(&bs);
 }
 
 void