aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-08-30 22:28:15 +0200
committerMax Kellermann <max@duempel.org>2011-08-30 22:28:15 +0200
commit293836494de519769af8d672becd2e4e6f8fb0ef (patch)
tree52d9ddf419c41dd43d14b907ca0693b2e4dde053 /test
parentae8bda190ec94b52ac927b40fe88d80dbd0ba530 (diff)
downloadmpd-293836494de519769af8d672becd2e4e6f8fb0ef.tar.gz
mpd-293836494de519769af8d672becd2e4e6f8fb0ef.tar.xz
mpd-293836494de519769af8d672becd2e4e6f8fb0ef.zip
output_control: move code to audio_output_destruct()
.. and destruct the output object properly in test/run_output.
Diffstat (limited to 'test')
-rw-r--r--test/run_output.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/run_output.c b/test/run_output.c
index 59a14fae3..c1d7a8120 100644
--- a/test/run_output.c
+++ b/test/run_output.c
@@ -233,8 +233,7 @@ int main(int argc, char **argv)
/* cleanup and exit */
- ao_plugin_finish(ao.plugin, ao.data);
- g_mutex_free(ao.mutex);
+ audio_output_destruct(&ao);
io_thread_deinit();