// were massive memory leaks
TexReferences.DeleteContents(true);
TexReferences.Put(
- labelStr.c_str(),
+ labelStr,
new TexRef(
labelStr.c_str(),
fileStr.c_str(),
macro->macroBody = copystring(macroBody.c_str());
BibEatWhiteSpace(line);
- CustomMacroList.Append(macroName.c_str(), macro);
+ CustomMacroList.Append(macroName, macro);
AddMacroDef(ltCUSTOM_MACRO, macroName.c_str(), noArgs);
}