build_Dentry_tree(): Make sure capture config gets destroyed