aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
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 20:29:29 +0100
commit0f2cf51f43b402487b9f4086edbe5dc954cea9ca (patch)
tree150b9d719adbbda1e48f714635bbf9eac3fd1fab /src/output
parente99ff4fdbc8bad5178665af4df70e77630aaf334 (diff)
downloadmpd-0f2cf51f43b402487b9f4086edbe5dc954cea9ca.tar.gz
mpd-0f2cf51f43b402487b9f4086edbe5dc954cea9ca.tar.xz
mpd-0f2cf51f43b402487b9f4086edbe5dc954cea9ca.zip
output/pulse: remove bogus g_free() call
Diffstat (limited to 'src/output')
-rw-r--r--src/output/plugins/PulseOutputPlugin.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx
index 4e24984c4..51c8cd828 100644
--- a/src/output/plugins/PulseOutputPlugin.cxx
+++ b/src/output/plugins/PulseOutputPlugin.cxx
@@ -367,8 +367,6 @@ pulse_output_enable(AudioOutput *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;