mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
Remove bogus free
Original commit message from CVS: Remove bogus free
This commit is contained in:
parent
7e6550818f
commit
936c0aff15
1 changed files with 1 additions and 9 deletions
|
@ -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)",
|
||||
thread->stack);
|
||||
free (thread->stack);
|
||||
thread->stack = NULL;
|
||||
}
|
||||
thread->stack = NULL;
|
||||
|
||||
THR_DEBUG ("unlocking mutex");
|
||||
g_mutex_unlock (thread->lock);
|
||||
|
|
Loading…
Reference in a new issue