mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
Workaround to solve hash_table_hash seg fault
This commit is similar to 070e2c2bde
This commit is contained in:
parent
a2ee85bd52
commit
529cfc2473
1 changed files with 2 additions and 0 deletions
|
@ -141,6 +141,8 @@ int main(int argc, char *argv[])
|
|||
if (!ft)
|
||||
error("Invalid output format '%s'", format);
|
||||
|
||||
memory_init(0); // Otherwise, ht->size in hash_table_hash() will be zero
|
||||
|
||||
ret = io_init(&io, ft, NULL, IO_FLUSH | (SAMPLE_HAS_ALL & ~SAMPLE_HAS_OFFSET));
|
||||
if (ret)
|
||||
error("Failed to initialize output");
|
||||
|
|
Loading…
Add table
Reference in a new issue