1
0
Fork 0
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:
Dennis Potter 2018-07-19 16:10:20 +02:00
parent a2ee85bd52
commit 529cfc2473

View file

@ -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");