gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free buffer.

Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

* gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
buffer.
This commit is contained in:
Andy Wingo 2005-11-16 18:37:57 +00:00
parent dd72e57c83
commit b6db554627
3 changed files with 7 additions and 0 deletions

View file

@ -1,5 +1,8 @@
2005-11-16 Andy Wingo <wingo@pobox.com>
* gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
buffer.
* check/net/gstnettimeprovider.c: Check to see that the time
provider actually provides times. Works, yo!

View file

@ -163,5 +163,7 @@ gst_net_time_packet_send (const GstNetTimePacket * packet, gint fd,
ret = sendto (fd, buffer, GST_NET_TIME_PACKET_SIZE, MSG_DONTWAIT, addr, len);
g_free (buffer);
return ret;
}

View file

@ -163,5 +163,7 @@ gst_net_time_packet_send (const GstNetTimePacket * packet, gint fd,
ret = sendto (fd, buffer, GST_NET_TIME_PACKET_SIZE, MSG_DONTWAIT, addr, len);
g_free (buffer);
return ret;
}