<p></p>
<p><b>@NGSegovia</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/2579#discussion_r544523843">src/modules/keepalive/keepalive_mod.c</a>:</p>
<pre style='color:#555'>> +    ka_initial_dest_t * new_destination = (ka_initial_dest_t *) shm_malloc(sizeof(ka_initial_dest_t));
+       new_destination->uri.s = shm_malloc(sizeof(char) * strlen(uri));
+       new_destination->owner.s = shm_malloc(sizeof(char) * strlen(owner));
+
+       memcpy(new_destination->uri.s, uri, strlen(uri));
+       new_destination->uri.len = strlen(uri);
+
+       memcpy(new_destination->owner.s, owner, strlen(owner));
+       new_destination->owner.len = strlen(owner);
+       
+       new_destination->next = NULL;
+
+       if (ka_initial_destinations_list == NULL) {
+               ka_initial_destinations_list = new_destination;
+       } else {
+               ka_initial_dest_t *current_position = ka_initial_destinations_list;
</pre>
<p>I still see more cons than pros, but OK. Updating this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2579#discussion_r544523843">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJGWKKAXSGMAJ3OAVTSVD3NZANCNFSM4UQ6PG2Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKSIQEYHZZP7JJFDYDSVD3NZA5CNFSM4UQ6PG22YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEECNQUA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2579#discussion_r544523843",
"url": "https://github.com/kamailio/kamailio/pull/2579#discussion_r544523843",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>