diff --git a/gst/schedulers/gthread-cothreads.h b/gst/schedulers/gthread-cothreads.h index 813583d109..4ec9b410e6 100644 --- a/gst/schedulers/gthread-cothreads.h +++ b/gst/schedulers/gthread-cothreads.h @@ -113,6 +113,7 @@ do_cothread_context_destroy (cothread_context *context) while (context->cothreads) { do_cothread_destroy ((cothread *) context->cothreads->data); } + g_mutex_free (context->mutex); g_free (context); }