commit | 75f0aef6220dc1e73bed238e57b20544ef4f38ec | [log] [tgz] |
---|---|---|
author | Cong Ding <dinggnu@gmail.com> | Fri Oct 25 00:25:53 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Oct 29 16:36:54 2013 -0700 |
tree | 4e78ce7114059a8ed12f49c0293f12b11aebcb0e | |
parent | 7c65e29250a3154cac18b527b6ccfc61f8f08c58 [diff] |
uio: fix memory leak we have to call kobject_put() to clean up the kobject after function kobject_init(), kobject_add(), or kobject_uevent() is called. Signed-off-by: Cong Ding <dinggnu@gmail.com> Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>