Fix memory leak in AFP reconstruction
Fixing memory leak in AFP reconstruction; occurred when creating links to the other objects.
Closes ATLASRECTS-7190
Fixing memory leak in AFP reconstruction; occurred when creating links to the other objects.
Closes ATLASRECTS-7190