]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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:18:17 +0000 (15:18 +0800)
commitd026b7150e38a1764d83fc57b6e4448d5e278eaf
tree4f874adca48ea46e26626649b08cfb89d2d262e5
parentb10dfc7a2b20aaf6fad56f7b0725c4aaa9438ad1
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