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

<hr>

<p>In <a href="https://github.com/kamailio/kamailio/pull/2190#discussion_r363399228">src/modules/userblacklist/userblacklist.c</a>:</p>
<pre style='color:#555'>> +            LM_ERR("no table name\n");
+               return -1;
+       }
+       /* try to add the table */
+       if (add_source(table) != 0) {
+               LM_ERR("could not add table");
+               return -1;
+       }
+
+       gnode = table2dt(table);
+       if (!gnode) {
+               LM_ERR("invalid table '%s'\n", table);
+               return -1;
+       }
+
+       arg = pkg_malloc(sizeof(struct check_blacklist_fs_t));
</pre>
<p>Maybe the pkg_free() has to be done in the functions you added (the kemi functions), otherwise the last change you did seems to affect the old code which was not reported to have issues. It cna be that now it frees for the kamailio.cfg native functions, when it should not happen.</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/2190?email_source=notifications&email_token=ABO7UZMXY3WKPWD4H7PLQJDQ4NTUTA5CNFSM4KDHEHIKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQYXAXA#discussion_r363399228">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJPKYXQRLPAP5CPRRLQ4NTUTANCNFSM4KDHEHIA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZLFN4TPNRCFLFBTP2DQ4NTUTA5CNFSM4KDHEHIKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQYXAXA.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/2190?email_source=notifications\u0026email_token=ABO7UZMXY3WKPWD4H7PLQJDQ4NTUTA5CNFSM4KDHEHIKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQYXAXA#discussion_r363399228",
"url": "https://github.com/kamailio/kamailio/pull/2190?email_source=notifications\u0026email_token=ABO7UZMXY3WKPWD4H7PLQJDQ4NTUTA5CNFSM4KDHEHIKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCQYXAXA#discussion_r363399228",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>