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.4.224 by commit bbc5d7b46a729bfcbb5544f6612b7a67dd4f4d6f, it was introduced in version v4.12 by commit 98cd1552ea27e512c7e99e2aa76042a26e4fb25c. For more details please see the references link.