memory leak bug fixes
Description
This MR fixes a memory leak in the GPU code, which manifested itself e.g. in the lda_u/02-ACBN0.01-nio.inp test.
News snippet
memory leak bug fix
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.
Edited by Martin Lueders