commit | b3495cebaaa64c9e6df9ab663dfb75e86a08f9ce | [log] [tgz] |
---|---|---|
author | Vasiliy Kulikov <segooon@gmail.com> | Sun Oct 17 18:51:57 2010 +0400 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Oct 19 10:10:54 2010 -0700 |
tree | 163920dbdbd48bee38fbd2a8d0a99f5592080985 | |
parent | 6a56486716d54d2c16c46cde6a5cf10062cd6719 [diff] |
staging: speakup: fix memory leak speakup_init() didn't free first_console if speakup_kobj_init() fails. Also propagate speakup_kobj_init()'s return code. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>