pulsesink: Free the GstPulseContext after usage

This commit is contained in:
Sebastian Dröge 2010-08-19 12:32:59 +02:00
parent 69a397c32f
commit bc5345bbd3

View file

@ -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);