X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/08d11e34cc17e3045231729d87025a0cfa598f54..f0a889b602a9de1ae15a6acb50dcb94008df3494:/modules/m_rehash.c?ds=sidebyside diff --git a/modules/m_rehash.c b/modules/m_rehash.c index 1a88201..8e8771c 100644 --- a/modules/m_rehash.c +++ b/modules/m_rehash.c @@ -118,7 +118,7 @@ rehash_glines(struct Client *source_p) aconf = ptr->data; delete_one_address_conf(aconf->host, aconf); - dlinkDestroy(ptr, &glines); + rb_dlinkDestroy(ptr, &glines); } } @@ -136,10 +136,10 @@ rehash_pglines(struct Client *source_p) { glp_ptr = ptr->data; - MyFree(glp_ptr->reason1); - MyFree(glp_ptr->reason2); - MyFree(glp_ptr); - dlinkDestroy(ptr, &pending_glines); + rb_free(glp_ptr->reason1); + rb_free(glp_ptr->reason2); + rb_free(glp_ptr); + rb_dlinkDestroy(ptr, &pending_glines); } } @@ -160,7 +160,7 @@ rehash_tklines(struct Client *source_p) aconf = ptr->data; delete_one_address_conf(aconf->host, aconf); - dlinkDestroy(ptr, &temp_klines[i]); + rb_dlinkDestroy(ptr, &temp_klines[i]); } } } @@ -182,7 +182,7 @@ rehash_tdlines(struct Client *source_p) aconf = ptr->data; delete_one_address_conf(aconf->host, aconf); - dlinkDestroy(ptr, &temp_dlines[i]); + rb_dlinkDestroy(ptr, &temp_dlines[i]); } } } @@ -205,7 +205,7 @@ rehash_txlines(struct Client *source_p) continue; free_conf(aconf); - dlinkDestroy(ptr, &xline_conf_list); + rb_dlinkDestroy(ptr, &xline_conf_list); } } @@ -228,7 +228,7 @@ rehash_tresvs(struct Client *source_p) continue; free_conf(aconf); - dlinkDestroy(ptr, &resvTable[i]); + rb_dlinkDestroy(ptr, &resvTable[i]); } HASH_WALK_END @@ -240,7 +240,7 @@ rehash_tresvs(struct Client *source_p) continue; free_conf(aconf); - dlinkDestroy(ptr, &resv_conf_list); + rb_dlinkDestroy(ptr, &resv_conf_list); } }