]> git.karo-electronics.de Git - linux-beck.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)
commit7f5ad0181621b08f68e2d4b772f410aec580642b
treee9ea06c0ae1b180c637d036cf3af85ed57e49daf
parentd8a76d669a09b49305988c7c27b09eb1fbe4b85a
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