staging: dgap: Fix BUG in processing config file
authorMark Hounschell <markh@compro.net>
Wed, 23 Apr 2014 14:33:45 +0000 (10:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 19:15:18 +0000 (12:15 -0700)
commit23aa2ad4a6281a43a3836bfeac006d03a4a361a0
tree7f015c2d90dfde570f5d993515125c02542485df
parent077c28f8c2f6d375bb7927c1f909df810776647b
staging: dgap: Fix BUG in processing config file

This patch fixes an OOPS caused by a pointer being
changed between the malloc and free.

Signed-off-by: Mark Hounschell <markh@compro.net>
Tested-by: Mark Hounschell <markh@compro.net>
Reported-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c