concat-deps: Clean up memory at exit when run with lsan

Change-Id: I66ccb5332e6c5eceb2f199911ebd4296c93cac4b