@@ -95,6 +95,7 @@ void Service_GetEndpoints(UA_Server *server, UA_Session *session, const UA_GetEn
if(!relevant_endpoints[j])
continue;
retval = UA_EndpointDescription_copy(&server->endpointDescriptions[j], &response->endpoints[k]);
+ UA_String_deleteMembers(&response->endpoints[k].endpointUrl);
retval |= UA_String_copy(&request->endpointUrl, &response->endpoints[k].endpointUrl);
k++;
}