]> git.baikalelectronics.ru Git - kernel.git/commit
staging: dgnc: free memory allocated
authorHari Prasath Gujulan Elango <hgujulan@visteon.com>
Thu, 18 Jun 2015 13:27:28 +0000 (13:27 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Jun 2015 04:15:17 +0000 (21:15 -0700)
commit78184ec9137bd833f655c01aa6c43d92f6669ba2
treee9ea06c0ae1b180c637d036cf3af85ed57e49daf
parentff3a29a9d427f483ae8812301dac7fe1f999a133
staging: dgnc: free memory allocated

The memory allocated in dgnc_tty_register() for two objects is not freed
anywhere.This patch addresses this by freeing the memory in
dgnc_tty_uninit.

Signed-off-by: Hari Prasath Gujulan Elango <hgujulan@visteon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c