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:
		| @@ -376,8 +376,6 @@ httpd_output_open(void *data, struct audio_format *audio_format, | |||||||
|  |  | ||||||
| 	success = httpd_output_encoder_open(httpd, audio_format, error); | 	success = httpd_output_encoder_open(httpd, audio_format, error); | ||||||
| 	if (!success) { | 	if (!success) { | ||||||
| 		g_source_remove(httpd->source_id); |  | ||||||
| 		close(httpd->fd); |  | ||||||
| 		g_mutex_unlock(httpd->mutex); | 		g_mutex_unlock(httpd->mutex); | ||||||
| 		return false; | 		return false; | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann