X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=audiod.c;h=a8f401834b8a438d7b21d96920bc7b735f0a6c6b;hb=b35708a83afe82b18251d53343519dd41e6e80f6;hp=d815c4aa6c98e699dc48304cd96db1d14c28035b;hpb=42ddd68159d7eff0f3e7c225665c97f9abd59425;p=paraslash.git diff --git a/audiod.c b/audiod.c index d815c4aa..a8f40183 100644 --- a/audiod.c +++ b/audiod.c @@ -1153,13 +1153,10 @@ static void close_unused_slots(void) */ void __noreturn clean_exit(int status, const char *msg) { - int i; - if (socket_name) unlink(socket_name); close_stat_pipe(); - FOR_EACH_SLOT(i) - close_slot(i); + close_unused_slots(); audiod_cmdline_parser_free(&conf); close_stat_clients(); PARA_EMERG_LOG("%s\n", msg);