#2596: EinsteinInitialData/TwoPunctures: Allocated memory is not freed
Reporter: Zach Etienne Status: new Milestone: Version: development version Type: bug Priority: major Component:
Changes (by Zach Etienne): In `Newton.c` , lines 375-376:
``` if (*normres <= tol) return 0; ```
returns from the function after temporary memory for the `Newton()` function has been allocated, but does not free that memory. `valgrind` confirms this issue.
I attach an updated version of `Newton.c` that should fix the issue.
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2596/einsteininitialdat...