net: genl: fix error path memory leak in policy dumping
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.10.138 by commit 83411c9f05d5a8b637293b3389eca3d378197c04, it was introduced in version v5.10 by commit 50a896cf2d6f34e884a00139d6e6012c9833ace3. For more details please see the references link.