amt: fix memory leak for advertisement message
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.18.3 by commit e7322da399fb86a2072f008b56f7160afa1b2051, it was introduced in version v5.16 by commit cbc21dc1cfe949e37b2a54c71511579f1899e8d4. For more details please see the references link.