output/pulse: remove bogus g_free() call
This commit is contained in:
parent
e99ff4fdbc
commit
0f2cf51f43
@ -367,8 +367,6 @@ pulse_output_enable(AudioOutput *ao, Error &error)
|
|||||||
|
|
||||||
po->mainloop = pa_threaded_mainloop_new();
|
po->mainloop = pa_threaded_mainloop_new();
|
||||||
if (po->mainloop == nullptr) {
|
if (po->mainloop == nullptr) {
|
||||||
g_free(po);
|
|
||||||
|
|
||||||
error.Set(pulse_output_domain,
|
error.Set(pulse_output_domain,
|
||||||
"pa_threaded_mainloop_new() has failed");
|
"pa_threaded_mainloop_new() has failed");
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user