--- a/libpurple/protocols/oscar/bstream.c Thu Apr 24 02:16:30 2008 +0000 +++ b/libpurple/protocols/oscar/bstream.c Thu Apr 24 11:10:03 2008 +0000 @@ -45,6 +45,11 @@ return 0; } +void byte_stream_destroy(ByteStream *bs) +{ + g_free(bs->data); +} + int byte_stream_empty(ByteStream *bs) { return bs->len - bs->offset;