On deinit free event base before freeing command base and pipes

This commit is contained in:
chme
2016-05-21 06:48:02 +02:00
parent 6112c38220
commit 5dc1cba5c8
6 changed files with 13 additions and 13 deletions

View File

@@ -4183,12 +4183,13 @@ player_deinit(void)
timer_delete(pb_timer);
#endif
commands_base_free(cmdbase);
evbuffer_free(audio_buf);
outputs_deinit();
event_base_free(evbase_player);
commands_base_free(cmdbase);
close(exit_pipe[0]);
close(exit_pipe[1]);
event_base_free(evbase_player);
}