USB: Fix memory leak in mon_stat_release
authorMing Lei <tom.leiming@gmail.com>
Mon, 14 Apr 2008 13:27:00 +0000 (21:27 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Apr 2008 04:16:32 +0000 (21:16 -0700)
commitd4062fcb9e6164cbbcef773f6b6602e30c4b6007
treedce1c04c00c12df5a1c2328c75b5a35dce787fa4
parent59fba744daadaaa85e07a5db96ac3618bc45a9ad
USB: Fix memory leak in mon_stat_release

Fix the leak of the snap structure allocated in mon_stat_open().

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/mon/mon_stat.c