Remember to init and exit the smalloc allocator
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 1046c03630a7d106241ae33505a3faf634f1b1fd..de6132c034a3daa04a64c0b4e60967ccbf99d331 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -36,6 +36,7 @@
 
 #include "fio.h"
 #include "hash.h"
+#include "smalloc.h"
 
 unsigned long page_mask;
 unsigned long page_size;
@@ -1302,6 +1303,8 @@ int main(int argc, char *argv[])
 {
        long ps;
 
+       sinit();
+
        /*
         * We need locale for number printing, if it isn't set then just
         * go with the US format.