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