summaryrefslogtreecommitdiff
path: root/src/lib/eet/eet_dictionary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eet/eet_dictionary.c')
-rw-r--r--src/lib/eet/eet_dictionary.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eet/eet_dictionary.c b/src/lib/eet/eet_dictionary.c
index a334167075..ea54b118ad 100644
--- a/src/lib/eet/eet_dictionary.c
+++ b/src/lib/eet/eet_dictionary.c
@@ -104,6 +104,8 @@ eet_dictionary_write_prepare(Eet_Dictionary *ed)
return;
}
+ ed->total = ed->count;
+
ed->all = malloc(ed->count * sizeof(Eet_String));
ed->all_hash = malloc(ed->count);
ed->all_allocated = malloc(((ed->count >> 3) + 1));