aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/PulseOutputPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-24 20:29:01 +0100
committerMax Kellermann <max@duempel.org>2014-02-24 21:23:49 +0100
commit6526de024a4da15ff1b0019b5bbe5048dce9e0f2 (patch)
treeded6a349d8f2e1ec75d6d4fc303ce3a3634f7a26 /src/output/PulseOutputPlugin.cxx
parent5e1e92626c1e07834eb6cdb3d57623c30bf50212 (diff)
downloadmpd-6526de024a4da15ff1b0019b5bbe5048dce9e0f2.tar.gz
mpd-6526de024a4da15ff1b0019b5bbe5048dce9e0f2.tar.xz
mpd-6526de024a4da15ff1b0019b5bbe5048dce9e0f2.zip
output/pulse: remove bogus g_free() call
Diffstat (limited to 'src/output/PulseOutputPlugin.cxx')
-rw-r--r--src/output/PulseOutputPlugin.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/output/PulseOutputPlugin.cxx b/src/output/PulseOutputPlugin.cxx
index ab797387d..1eece448a 100644
--- a/src/output/PulseOutputPlugin.cxx
+++ b/src/output/PulseOutputPlugin.cxx
@@ -369,8 +369,6 @@ pulse_output_enable(struct audio_output *ao, Error &error)
po->mainloop = pa_threaded_mainloop_new();
if (po->mainloop == nullptr) {
- g_free(po);
-
error.Set(pulse_output_domain,
"pa_threaded_mainloop_new() has failed");
return false;