From 293836494de519769af8d672becd2e4e6f8fb0ef Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 30 Aug 2011 22:28:15 +0200 Subject: output_control: move code to audio_output_destruct() .. and destruct the output object properly in test/run_output. --- test/run_output.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test') 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(); -- cgit v1.2.3