1. 01 Aug, 2016 1 commit
    • Peter W. Draper's avatar
      Merge branch 'clean_up_allocations' into 'master' · be9e0e49
      Peter W. Draper authored
      Clean up allocations and deallocations
      Two improvements to the code:
       - Replaced all calls to `alloca()` by `malloc()` and `posix_memalign()` depending on use case.
       - Added cleaning up code to free up all the allocated memory. 
      The second change is there to make sure we don't have memory leaks by easing the read of the memory sanitizer output. There is only one allocation that cannot be easily freed at the end of a run. In space.c (line 1327) we allocate cells in batches and then use them as a linked list. No memory leak there, just a hard unnecessary work to clean up at the end of a run.
      That allows to run the EAGLE_50 example for hundreds of steps. 
      See merge request !211
  2. 30 Jul, 2016 1 commit
  3. 29 Jul, 2016 11 commits
  4. 28 Jul, 2016 11 commits
  5. 27 Jul, 2016 10 commits
  6. 26 Jul, 2016 6 commits