X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fdictionary.c;h=9222f7ec0ba85ab94bdc88952029f8e59fc4b3d5;hb=refs%2Ftags%2Fsav-api;hp=1976ec038ff4a21c7df31f3dc7eb281e51cdbce8;hpb=c5ad65b0351ab1d897eb072eeaec06fb37802b01;p=pspp diff --git a/src/data/dictionary.c b/src/data/dictionary.c index 1976ec038f..9222f7ec0b 100644 --- a/src/data/dictionary.c +++ b/src/data/dictionary.c @@ -24,7 +24,6 @@ #include "data/attributes.h" #include "data/case.h" -#include "data/category.h" #include "data/identifier.h" #include "data/mrset.h" #include "data/settings.h" @@ -298,7 +297,8 @@ dict_destroy (struct dictionary *d) dict_clear (d); hmap_destroy (&d->name_map); attrset_destroy (&d->attributes); - free (d->mrsets); + dict_clear_mrsets (d); + free (d->encoding); free (d); } }