#include "data/attributes.h"
#include "data/case.h"
-#include "data/category.h"
#include "data/identifier.h"
#include "data/mrset.h"
#include "data/settings.h"
dict_clear (d);
hmap_destroy (&d->name_map);
attrset_destroy (&d->attributes);
- free (d->mrsets);
+ dict_clear_mrsets (d);
+ free (d->encoding);
free (d);
}
}
final line with spaces. */
remainder = ds_length (&d->documents) % DOC_LINE_LENGTH;
if (remainder != 0)
- ds_put_char_multiple (&d->documents, ' ', DOC_LINE_LENGTH - remainder);
+ ds_put_byte_multiple (&d->documents, ' ', DOC_LINE_LENGTH - remainder);
}
/* Drops the documents from dictionary D. */