Mercurial > pidgin
comparison libpurple/protocols/oscar/flap_connection.c @ 22718: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 |
comparison
equal
deleted
inserted
replaced
22717:979a81468e19 | 22718:da3de0190be2 |
---|---|
986 | 986 |
987 bslen = byte_stream_curpos(&bs); | 987 bslen = byte_stream_curpos(&bs); |
988 byte_stream_rewind(&bs); | 988 byte_stream_rewind(&bs); |
989 flap_connection_send_byte_stream(&bs, conn, bslen); | 989 flap_connection_send_byte_stream(&bs, conn, bslen); |
990 | 990 |
991 g_free(bs.data); /* XXX byte_stream_free */ | 991 byte_stream_destroy(&bs); |
992 } | 992 } |
993 | 993 |
994 void | 994 void |
995 flap_connection_send(FlapConnection *conn, FlapFrame *frame) | 995 flap_connection_send(FlapConnection *conn, FlapFrame *frame) |
996 { | 996 { |