Disconnect the temporary PulseAudio context.

This commit is contained in:
David Reid
2018-07-11 10:07:50 +00:00
parent 7d5e515d62
commit 15375deb61
+1
View File
@@ -11515,6 +11515,7 @@ mal_result mal_context_init__pulse(mal_context* pContext)
return MAL_NO_BACKEND;
}
((mal_pa_context_disconnect_proc)pContext->pulse.pa_context_disconnect)(pPulseContext);
((mal_pa_context_unref_proc)pContext->pulse.pa_context_unref)(pPulseContext);
((mal_pa_mainloop_free_proc)pContext->pulse.pa_mainloop_free)(pMainLoop);
return MAL_SUCCESS;