Commit 936c0aff authored by Wim Taymans's avatar Wim Taymans

Remove bogus free

Original commit message from CVS:
Remove bogus free
parent 7e655081
......@@ -498,15 +498,7 @@ gst_thread_change_state (GstElement * element)
g_thread_join (thread->thread_id);
thread->thread_id = NULL;
/* the stack was allocated when we created the thread
* using scheduler->get_preferred_stack */
if (thread->stack) {
GST_DEBUG (GST_CAT_THREAD, "freeing allocated stack (%p)",
free (thread->stack);
thread->stack = NULL;
thread->stack = NULL;
THR_DEBUG ("unlocking mutex");
g_mutex_unlock (thread->lock);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment