staging: comedi: fix memory leak
authorNicolas Kaiser <nikai@nikai.net>
Sat, 13 Nov 2010 18:46:50 +0000 (19:46 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 20:25:52 +0000 (12:25 -0800)
commit61838261edaf621d1e8ee4ea9d7c052f7d783ca4
tree66044dcc8e633cecb55e78b3e2c2182edd7c00c4
parentebba26f4a8d0c137a2d365b6bded2a0d7fcd1d06
staging: comedi: fix memory leak

Instead of freeing outBuffer, inBuffer gets freed twice.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/usbdux.c