gst/schedulers/gthread-cothreads.h: free allocated data for main cothread, too when destroying context (fixes #141417)

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)
This commit is contained in:
Benjamin Otte 2004-04-30 02:16:29 +00:00
parent e50f330ac2
commit 4a343d6a9d
2 changed files with 10 additions and 0 deletions

View file

@ -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

View 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);
}