gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free buffer.
authorAndy Wingo <wingo@pobox.com>
Wed, 16 Nov 2005 18:37:57 +0000 (18:37 +0000)
committerAndy Wingo <wingo@pobox.com>
Wed, 16 Nov 2005 18:37:57 +0000 (18:37 +0000)
Original commit message from CVS:
2005-11-16  Andy Wingo  <wingo@pobox.com>

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

ChangeLog
gst/net/gstnettimepacket.c
libs/gst/net/gstnettimepacket.c

index 420d720..951d2d2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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!
 
index 167eb46..b40c069 100644 (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;
 }
index 167eb46..b40c069 100644 (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;
 }