comparison 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
comparison
equal deleted inserted replaced
22718:da3de0190be2 22719:6f5f0a4de7f4
46 byte_stream_put16(&bs, frame->flags); 46 byte_stream_put16(&bs, frame->flags);
47 byte_stream_putraw(&bs, frame->payload.data, frame->payload.len); 47 byte_stream_putraw(&bs, frame->payload.data, frame->payload.len);
48 48
49 peer_connection_send(conn, &bs); 49 peer_connection_send(conn, &bs);
50 50
51 g_free(bs.data); 51 byte_stream_destroy(&bs);
52 } 52 }
53 53
54 /** 54 /**
55 * Create a rendezvous "init send" packet and send it on its merry way. 55 * Create a rendezvous "init send" packet and send it on its merry way.
56 * This is the first packet sent to the proxy server by the first client 56 * This is the first packet sent to the proxy server by the first client