Trying to fix memory leak. Unset  variables when not needed anymore.

Signed-off-by: Michel <info@1st-setup.nl>