samples/landlock: Fix path_list memory leak
This is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven. This ID is fixed in Linux Kernel version v5.16.19 by commit 49b0d8bf05809df5f87e5c03e26d74bdfdab4571. For more details please see the references link.