diff libpurple/protocols/oscar/peer_proxy.c @ 22719: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 44b4e8bd759b
children 8f353a311895
line wrap: on
line diff
--- a/libpurple/protocols/oscar/peer_proxy.c	Thu Apr 24 11:19:26 2008 +0000
+++ b/libpurple/protocols/oscar/peer_proxy.c	Thu Apr 24 11:28:20 2008 +0000
@@ -48,7 +48,7 @@
 
 	peer_connection_send(conn, &bs);
 
-	g_free(bs.data);
+	byte_stream_destroy(&bs);
 }
 
 /**