>  found:
>       if (do_test) {
>               node->rn_disabled = rtpp_test(node, node->rn_disabled, 0);
>               if (node->rn_disabled)
>                       goto retry;
>       }
> +
> +     /* build hash table entry */
> +     struct rtpengine_hash_entry *entry = shm_malloc(sizeof(struct 
> rtpp_node));

Return value of shm_malloc should be error checked (might be NULL)

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/390/files#r44551417
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to