USB: core: only clean up what we allocated
When cleaning up the configurations, make sure we only free the number of configurations and interfaces that we could have allocated. Change-Id: I81b9513cc2ccc8bdd5e98982bb66e34711f61883 Reported-by:Andrey Konovalov <andreyknvl@google.com> Cc: stable <stable@vger.kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Git-commit: 32fd87b3 Signed-off-by:
Dennis Cagle <dcagle@codeaurora.org>
Loading
Please register or sign in to comment