From bc5345bbd3fc990afa003a1febe1101f8663486d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 19 Aug 2010 12:32:59 +0200 Subject: [PATCH] pulsesink: Free the GstPulseContext after usage --- ext/pulse/pulsesink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c index 87e6c4122a..4c3c559a0e 100644 --- a/ext/pulse/pulsesink.c +++ b/ext/pulse/pulsesink.c @@ -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);