tracing: Fix potential double free in createvarref()
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.121 by commit 058cb6d86b9789377216c936506b346aaa1eb581, it was introduced in version v4.17 by commit 067fe038e70f6e64960d26a79c4df5f1413d0f13. For more details please see the references link.