tracing: Fix memory leak in testgensynthcmd() and testemptysynthevent()
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.15.80 by commit 07ba4f0603aba288580866394f2916dfe55823a2, it was introduced in version v5.6 by commit 9fe41efaca08416657efa8731c0d47ccb6a3f3eb. For more details please see the references link.