1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

Fixed memory_init() bug as described in #180

This commit is contained in:
Dennis Potter 2018-07-25 13:22:50 +02:00
parent 6b93b8839e
commit e843733317

View file

@ -120,6 +120,7 @@ check: if (optarg == endptr)
int n = argc - optind; /* The number of files which we compare */
struct side s[n];
memory_init(0);
ret = pool_init(&pool, n, SAMPLE_LEN(DEFAULT_SAMPLELEN), &memory_type_heap);
if (ret)
error("Failed to initialize pool");