CVE-2024-46741 misc: fastrpc: Fix double free of ‚buf‘ in error path