there is a bug in umlaut.c, adding a FIXME.

this happens during test_umlaut, and valgrind detects it.
This commit is contained in:
Enno Rehling 2015-10-14 13:33:10 +02:00
parent 254cda86e8
commit 78a8795305
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ void addtoken(void ** root, const char *str, variant id)
ref->ucs = lcs;
ref->node = node;
ref->nexthash = tk->next[index];
tk->next[index] = ref;
tk->next[index] = ref; // FIXME: memory leak of tk->next[index]
}
next = ref;
}