]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/irc_dictionary.c
DubString -> rb_strdup
[irc/rqf/shadowircd.git] / src / irc_dictionary.c
index 7429782183a6cb05b6d62ff1fb13b4a9ab1cb8e7..fc6129e07562491bbba549ad40f1c61af0609074 100644 (file)
@@ -90,7 +90,7 @@ struct Dictionary *irc_dictionary_create_named(const char *name,
        struct Dictionary *dtree = (struct Dictionary *) rb_malloc(sizeof(struct Dictionary));
 
        dtree->compare_cb = compare_cb;
-       DupString(dtree->id, name);
+       dtree->id = rb_strdup(name);
 
        if (!elem_heap)
                elem_heap = BlockHeapCreate(sizeof(struct DictionaryElement), 1024);