Commit 04c4398b authored by Max Kellermann's avatar Max Kellermann

output/httpd: don't close socket in open() failure

This cleanup call is obsolete, since we moved the binding code to enable()/disable().
parent 39e42394
......@@ -376,8 +376,6 @@ httpd_output_open(void *data, struct audio_format *audio_format,
success = httpd_output_encoder_open(httpd, audio_format, error);
if (!success) {
g_source_remove(httpd->source_id);
close(httpd->fd);
g_mutex_unlock(httpd->mutex);
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment