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>
Tue, 24 Apr 2012 18:38:34 +0000 (11:38 -0700)
commitabae41e6438b798e046d721b6ccdd55b4a398170
treea1c0f4659a75e48ee86015eadc1467ac8cd2c7a8
parent3eb23422b2370fd22531cf0de40b57699c17f08e
drivers/staging/comedi/comedi_fops.c: add missing vfree

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>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c