net: dsa: Fix possible memory leaks in dsaloopinit()
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.78 by commit 9f555b1584fc2d5d16ee3c4d9438e93ac7c502c7, it was introduced in version v4.12 by commit 98cd1552ea27e512c7e99e2aa76042a26e4fb25c. For more details please see the references link.