summaryrefslogtreecommitdiffstats
path: root/src/peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peer.c')
-rw-r--r--src/peer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/peer.c b/src/peer.c
index 19b10d8..1ae7b3c 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -729,8 +729,6 @@ fastd_peer_t* fastd_peer_add(fastd_peer_config_t *peer_conf) {
if (peer_conf) {
peer->config = peer_conf;
- VECTOR_ALLOC(peer->remotes, 0);
-
fastd_remote_config_t *remote_config;
for (remote_config = peer_conf->remotes; remote_config; remote_config = remote_config->next) {
fastd_remote_t remote = {.config = remote_config};