@@ -114,19 +114,19 @@ level: (unsigned int)level { OFString *ret; if (indentation > 0 && level > 0) { - char *whitespaces = of_alloc((level * indentation) + 1, 1); + char *whitespaces = OFAllocMemory((level * indentation) + 1, 1); memset(whitespaces, ' ', level * indentation); whitespaces[level * indentation] = 0; @try { ret = [OFString stringWithFormat: @"%s", whitespaces, _text]; } @finally { - free(whitespaces); + OFFreeMemory(whitespaces); } } else ret = [OFString stringWithFormat: @"", _text]; return ret;