staging: android: fix a possible memory leak
authorSeunghun Lee <waydi1@gmail.com>
Wed, 13 Aug 2014 17:02:48 +0000 (02:02 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 17 Aug 2014 14:15:10 +0000 (07:15 -0700)
commiteb29835fb3ae9f7a8c8a4ae92e192052c3473557
treee7c1d29373e8b75c681ae843317dc1c3360016ab
parent299ef8cd6556d9cd968f672ad30c6df4cfcfc729
staging: android: fix a possible memory leak

Memory allocated by kstrdup should be freed.

CC: Brian Swetland <swetland@google.com>
Acked-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/logger.c