Fix memory leak

This commit is contained in:
Kevin Keogh
2018-08-03 17:16:46 -04:00
parent d2679da8c8
commit 391273bb35

View File

@@ -164,6 +164,7 @@ void gbm(struct Option *opt)
for(i=0; i<NUM_THREADS; i++)
free(randoms[i]);
free(options);
free(randoms);
free(threads);
}