X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/300a5433442f9973971a102346eb9d72e796cb4e..eddc2ab6d88c98e43d105bb9cc1b24872ac9f1ef:/src/newconf.c diff --git a/src/newconf.c b/src/newconf.c index 665b49b7..eddeeff6 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -80,7 +80,7 @@ add_top_conf(const char *name, int (*sfunc) (struct TopConf *), { struct TopConf *tc; - tc = MyMalloc(sizeof(struct TopConf)); + tc = rb_malloc(sizeof(struct TopConf)); tc->tc_name = name; tc->tc_sfunc = sfunc; @@ -1582,7 +1582,7 @@ conf_set_service_name(void *data) static int conf_begin_alias(struct TopConf *tc) { - yy_alias = MyMalloc(sizeof(struct alias_entry)); + yy_alias = rb_malloc(sizeof(struct alias_entry)); if (conf_cur_block_name != NULL) DupString(yy_alias->name, conf_cur_block_name); @@ -1846,7 +1846,7 @@ add_conf_item(const char *topconf, const char *name, int type, void (*func) (voi if((cf = find_conf_item(tc, name)) != NULL) return -1; - cf = MyMalloc(sizeof(struct ConfEntry)); + cf = rb_malloc(sizeof(struct ConfEntry)); cf->cf_name = name; cf->cf_type = type;