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