Commit bc5345bb authored by Sebastian Dröge's avatar Sebastian Dröge
Browse files

pulsesink: Free the GstPulseContext after usage

parent 69a397c3
......@@ -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);
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