gst/schedulers/gthread-cothreads.h: free allocated data for main cothread, too when...
authorBenjamin Otte <otte@gnome.org>
Fri, 30 Apr 2004 02:16:29 +0000 (02:16 +0000)
committerBenjamin Otte <otte@gnome.org>
Fri, 30 Apr 2004 02:16:29 +0000 (02:16 +0000)
Original commit message from CVS:
reviewed by Benjamin Otte  <otte@gnome.org>
* gst/schedulers/gthread-cothreads.h:
free allocated data for main cothread, too when destroying context
(fixes #141417)

ChangeLog
gst/schedulers/gthread-cothreads.h

index 5865d927154a62e14a81fa8b480c87bafd3e4983..3473f97328028be126081ae4dca966e0d7b3a7f1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-04-30  Sebastien Cote  <sc5@hermes.usherb.ca>
+
+       reviewed by Benjamin Otte  <otte@gnome.org>
+
+       * gst/schedulers/gthread-cothreads.h:
+         free allocated data for main cothread, too when destroying context
+         (fixes #141417)
+
 2004-04-29  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
 
        * docs/manual/goals.xml : remove duplicated paragraph at end 
index df4524bee4f148d9aeea4344019a0a0924497526..eeff012724c7d8d2344f3363e3df876aaf688370 100644 (file)
@@ -112,6 +112,8 @@ do_cothread_context_destroy (cothread_context *context)
   }
   g_mutex_unlock (context->mutex);
   g_mutex_free (context->mutex);
+  g_cond_free (context->main->cond);
+  g_free (context->main);
   
   g_free (context);
 }