]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/irc_dictionary.c
MyMalloc -> rb_malloc
[irc/rqf/shadowircd.git] / src / irc_dictionary.c
index 06b115a378aa234335e56b534cefbfe99b252807..7429782183a6cb05b6d62ff1fb13b4a9ab1cb8e7 100644 (file)
@@ -57,7 +57,7 @@ struct Dictionary
  */
 struct Dictionary *irc_dictionary_create(DCF compare_cb)
 {
-       struct Dictionary *dtree = (struct Dictionary *) MyMalloc(sizeof(struct Dictionary));
+       struct Dictionary *dtree = (struct Dictionary *) rb_malloc(sizeof(struct Dictionary));
 
        dtree->compare_cb = compare_cb;
 
@@ -87,7 +87,7 @@ struct Dictionary *irc_dictionary_create(DCF compare_cb)
 struct Dictionary *irc_dictionary_create_named(const char *name,
        DCF compare_cb)
 {
-       struct Dictionary *dtree = (struct Dictionary *) MyMalloc(sizeof(struct Dictionary));
+       struct Dictionary *dtree = (struct Dictionary *) rb_malloc(sizeof(struct Dictionary));
 
        dtree->compare_cb = compare_cb;
        DupString(dtree->id, name);