|  | @@ -17056,10 +17056,12 @@ mg_close_connection(struct mg_connection *conn)
 | 
	
		
			
				|  |  |  		(void)pthread_mutex_destroy(&conn->mutex);
 | 
	
		
			
				|  |  |  		mg_free(conn);
 | 
	
		
			
				|  |  |  	} else if (conn->phys_ctx->context_type == CONTEXT_HTTP_CLIENT) {
 | 
	
		
			
				|  |  | +		(void)pthread_mutex_destroy(&conn->mutex);
 | 
	
		
			
				|  |  |  		mg_free(conn);
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  #else
 | 
	
		
			
				|  |  |  	if (conn->phys_ctx->context_type == CONTEXT_HTTP_CLIENT) { /* Client */
 | 
	
		
			
				|  |  | +		(void)pthread_mutex_destroy(&conn->mutex);
 | 
	
		
			
				|  |  |  		mg_free(conn);
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  #endif /* defined(USE_WEBSOCKET) */
 |