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

This cleanup call is obsolete, since we moved the binding code to
enable()/disable().
This commit is contained in:
Max Kellermann 2010-10-05 20:52:52 +02:00
parent 39e42394bd
commit 04c4398bfc

View File

@ -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;
}