diff --git a/test/dwttest.c b/test/dwttest.c index ce2a92e..dd0a017 100644 --- a/test/dwttest.c +++ b/test/dwttest.c @@ -41,6 +41,8 @@ int main() { i++; } N = 256; + + fclose(ifp); inp = (double*)malloc(sizeof(double)* N); out = (double*)malloc(sizeof(double)* N); diff --git a/test/modwttest.c b/test/modwttest.c index 426a41c..270119b 100644 --- a/test/modwttest.c +++ b/test/modwttest.c @@ -42,6 +42,8 @@ int main() { i++; } N = 177; + + fclose(ifp); inp = (double*)malloc(sizeof(double)* N); out = (double*)malloc(sizeof(double)* N); diff --git a/test/swttest.c b/test/swttest.c index b6da495..5174edc 100644 --- a/test/swttest.c +++ b/test/swttest.c @@ -41,7 +41,7 @@ int main() { i++; } N = 256; - + fclose(ifp); inp = (double*)malloc(sizeof(double)* N); out = (double*)malloc(sizeof(double)* N); diff = (double*)malloc(sizeof(double)* N);