OSDN Git Service

drivers/staging/comedi/comedi_fops.c: add missing vfree
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 22 Apr 2012 11:37:09 +0000 (13:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Jun 2012 07:12:54 +0000 (15:12 +0800)
commit512a8016c25d2045630b8933e7882169f7a98751
tree275cfea2d91d0d72dd10029d5980eff1acf8d56d
parentee9ffef206a54067e6fa728756c8b2ce10f31acf
drivers/staging/comedi/comedi_fops.c: add missing vfree

commit abae41e6438b798e046d721b6ccdd55b4a398170 upstream.

aux_free is freed on all other exits from the function.  By removing the
return, we can benefit from the vfree already at the end of the function.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c