mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-21 21:11:57 +03:00
added missing delete adaline
This commit is contained in:
parent
c884bb96d9
commit
614280257b
@ -241,6 +241,7 @@ void test1(double eta)
|
||||
// for (int i = 0; i < N; i++)
|
||||
// free(X[i]);
|
||||
free(X);
|
||||
delete_adaline(&ada);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -301,6 +302,7 @@ void test2(double eta)
|
||||
free(X[i]);
|
||||
free(X);
|
||||
free(Y);
|
||||
delete_adaline(&ada);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -374,6 +376,7 @@ void test3(double eta)
|
||||
free(X[i]);
|
||||
free(X);
|
||||
free(Y);
|
||||
delete_adaline(&ada);
|
||||
}
|
||||
|
||||
/** Main function */
|
||||
|
Loading…
Reference in New Issue
Block a user