etmc/tmLQCD — pull request #61 by deuzeman (2012-02-03 10:47:20+00:00)
Title: Rewrite g_gauge_buffers to avoid a segmentation fault and memory leaks.

This rewrite fixes, hopefully, all issues by getting rid of the integer `g_gauge_buffers.stack` and replacing it by `g_gauge_buffers.free`, an unsigned integer. The `finalize_gauge_fields` function has been refactored and a memory leak was fixed in return_gauge_field_array. Fixes #57.