mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
pulse: fix crash when cleaning up signals
Also make sure the main pulseaudio binary can't be started.
This commit is contained in:
parent
f3c06372ef
commit
4370675d2b
3 changed files with 12 additions and 8 deletions
|
|
@ -254,6 +254,9 @@ pa_mainloop *pa_mainloop_new(void)
|
|||
{
|
||||
pa_mainloop *loop;
|
||||
|
||||
if (getenv("PULSE_INTERNAL"))
|
||||
return NULL;
|
||||
|
||||
loop = calloc(1, sizeof(pa_mainloop));
|
||||
if (loop == NULL)
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue