mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
pulsesink: Free the GstPulseContext after usage
This commit is contained in:
parent
69a397c32f
commit
bc5345bbd3
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ gst_pulsering_destroy_context (GstPulseRingBuffer * pbuf)
|
|||
pa_context_unref (pctx->context);
|
||||
g_hash_table_remove (gst_pulse_shared_contexts, pbuf->context_name);
|
||||
g_free (pbuf->context_name);
|
||||
g_slice_free (GstPulseContext, pctx);
|
||||
}
|
||||
}
|
||||
g_mutex_unlock (pa_ring_buffer_mutex);
|
||||
|
|
Loading…
Reference in a new issue