]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most: aim-cdev: destroy ida struct in case of exception
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 22 Aug 2016 14:46:24 +0000 (16:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Aug 2016 20:41:00 +0000 (16:41 -0400)
commite93866ae42204c68c22a489b4e4121c17f84fe4c
treead3381405201c84e5834f66c09c39bcbd9f0051d
parent877055f64e545898e6f633848171dceea9061bff
staging: most: aim-cdev: destroy ida struct in case of exception

This patch is needed to clean up the initialized ida structure in case
the function exits with an exception.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/aim-cdev/cdev.c