gst/net/gstnetclientclock.c: Free remote and local time arrays.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 17 Nov 2005 18:50:14 +0000 (18:50 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 17 Nov 2005 18:50:14 +0000 (18:50 +0000)
Original commit message from CVS:
* gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
Free remote and local time arrays.

ChangeLog
gst/net/gstnetclientclock.c
libs/gst/net/gstnetclientclock.c

index 5a842c9..14526b5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-11-17  Wim Taymans  <wim@fluendo.com>
 
+       * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
+       Free remote and local time arrays.
+
+2005-11-17  Wim Taymans  <wim@fluendo.com>
+
        * gst/net/gstnetclientclock.c: (do_linear_regression),
        (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
        Fix compilation, uninitialized vars and a forgotten continue.
index 36ce93c..30e559f 100644 (file)
@@ -162,6 +162,12 @@ gst_net_client_clock_finalize (GObject * object)
   g_free (self->servaddr);
   self->servaddr = NULL;
 
+  g_free (self->local_times);
+  self->local_times = NULL;
+
+  g_free (self->remote_times);
+  self->remote_times = NULL;
+
   G_OBJECT_CLASS (parent_class)->finalize (object);
 }
 
index 36ce93c..30e559f 100644 (file)
@@ -162,6 +162,12 @@ gst_net_client_clock_finalize (GObject * object)
   g_free (self->servaddr);
   self->servaddr = NULL;
 
+  g_free (self->local_times);
+  self->local_times = NULL;
+
+  g_free (self->remote_times);
+  self->remote_times = NULL;
+
   G_OBJECT_CLASS (parent_class)->finalize (object);
 }