summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-10-25 09:34:14 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-10-25 09:34:14 +0100
commitfdd4f923bef976f6f34a2df8e73c3c0098a8bb54 (patch)
tree09b83e052afabbd1443121388e9789cebf482203 /src
parentf3ecb37dd32bf4f57bbc3a4230f0584207449b01 (diff)
downloadefl-fdd4f923bef976f6f34a2df8e73c3c0098a8bb54.tar.gz
eet - fix bug I added in optimization patch in unusual code path
fixes bug in d08bb7425552853eba6e1c27a33021741b7cb9b1 in fallback code path.
Diffstat (limited to 'src')
-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));