diff options
Diffstat (limited to 'native/src/testmain.cpp')
| -rw-r--r-- | native/src/testmain.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/native/src/testmain.cpp b/native/src/testmain.cpp index 01af973..9605cd0 100644 --- a/native/src/testmain.cpp +++ b/native/src/testmain.cpp | |||
| @@ -974,6 +974,17 @@ int main(int argc, char** argv) | |||
| 974 | 974 | ||
| 975 | delete results; | 975 | delete results; |
| 976 | 976 | ||
| 977 | bool check_for_memory_leaks = false; | ||
| 978 | |||
| 979 | // Run the LP code in a loop to see if memory footprint increases | ||
| 980 | // significantly. | ||
| 981 | while (check_for_memory_leaks) { | ||
| 982 | results = lp_dflp_bounds(rsi, loc); | ||
| 983 | delete results; | ||
| 984 | results = lp_dpcp_bounds(rsi, loc); | ||
| 985 | delete results; | ||
| 986 | } | ||
| 987 | |||
| 977 | #endif | 988 | #endif |
| 978 | 989 | ||
| 979 | return 0; | 990 | return 0; |
