forked from github/server
there is a bug in umlaut.c, adding a FIXME.
this happens during test_umlaut, and valgrind detects it.
This commit is contained in:
parent
254cda86e8
commit
78a8795305
|
@ -181,7 +181,7 @@ void addtoken(void ** root, const char *str, variant id)
|
||||||
ref->ucs = lcs;
|
ref->ucs = lcs;
|
||||||
ref->node = node;
|
ref->node = node;
|
||||||
ref->nexthash = tk->next[index];
|
ref->nexthash = tk->next[index];
|
||||||
tk->next[index] = ref;
|
tk->next[index] = ref; // FIXME: memory leak of tk->next[index]
|
||||||
}
|
}
|
||||||
next = ref;
|
next = ref;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue