Staging: bcm: Fix memory leak reported during compile.
authorKevin McKinney <klmckinney1@gmail.com>
Tue, 16 Aug 2011 02:12:15 +0000 (22:12 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 22:20:53 +0000 (15:20 -0700)
commit1dc634772b0daead0e841b9034e88b6c76a05709
treeb70c64c77e79e09952dcfaf259304bdde23597f0
parentfbfcdf254d7be71b25bfc053e9d22ef8ff061750
Staging: bcm: Fix memory leak reported during compile.

This patch fixes a potential memory leak were temp_buff buffer
is not being freed when a certain condition is true.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Reviewed-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/bcm/Bcmchar.c