Commit 6526de02 authored by Max Kellermann's avatar Max Kellermann

output/pulse: remove bogus g_free() call

parent 5e1e9262
...@@ -369,8 +369,6 @@ pulse_output_enable(struct audio_output *ao, Error &error) ...@@ -369,8 +369,6 @@ pulse_output_enable(struct audio_output *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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment