iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()
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.4.225 by commit 0dd52e141afde089304de470148d311b05c14564, it was introduced in version v3.0 by commit 1f785681a87068f123d3e23da13b2c55ab4f93ac. For more details please see the references link.