From fdd4f923bef976f6f34a2df8e73c3c0098a8bb54 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 25 Oct 2021 09:34:14 +0100 Subject: [PATCH] eet - fix bug I added in optimization patch in unusual code path fixes bug in d08bb7425552853eba6e1c27a33021741b7cb9b1 in fallback code path. --- src/lib/eet/eet_dictionary.c | 2 ++ 1 file changed, 2 insertions(+) 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));