From e8437333176639ea7219b7aefb7928cf123db0d2 Mon Sep 17 00:00:00 2001 From: Dennis Potter Date: Wed, 25 Jul 2018 13:22:50 +0200 Subject: [PATCH] Fixed memory_init() bug as described in #180 --- src/villas-test-cmp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/villas-test-cmp.cpp b/src/villas-test-cmp.cpp index f32d5c9e0..94666d026 100644 --- a/src/villas-test-cmp.cpp +++ b/src/villas-test-cmp.cpp @@ -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");