kdb: fix memory leak in kdb_main.c
authorJovi Zhang <bookjovi@gmail.com>
Wed, 10 Nov 2010 13:22:18 +0000 (07:22 -0600)
committerJason Wessel <jason.wessel@windriver.com>
Wed, 17 Nov 2010 19:54:57 +0000 (13:54 -0600)
commit85e76ab50aecbdc9011806f2f8943450ccb0d93c
tree3cf312d0b247a7e2cc40cc5a4bfb35759aa57dda
parente53beacd23d9cb47590da6a7a7f6d417b941a994
kdb: fix memory leak in kdb_main.c

Call kfree in the error path as well as the success path in kdb_ll().

Signed-off-by: Jovi Zhang <bookjovi@gmail.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/kdb/kdb_main.c