mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
Fix a memory leak.
This commit is contained in:
@@ -11515,6 +11515,8 @@ mal_result mal_context_init__pulse(mal_context* pContext)
|
||||
return MAL_NO_BACKEND;
|
||||
}
|
||||
|
||||
((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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user