commit | fbb7d2e3a9cc07dd56a9c4d337352b3b1cb34c89 | [log] [tgz] |
---|---|---|
author | Souptick Joarder <jrdr.linux@gmail.com> | Mon Nov 14 18:07:36 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Nov 16 10:57:25 2016 +0100 |
tree | 97cf2b25ffad5828583a0bb44cb4afb815ad2a5e | |
parent | 31b5929d533f5183972cf57a7844b456ed996f3c [diff] |
serial: sunhv: Free memory when remove() is called In each call to hv_remove(), con_read_page and con_write_page is not getting freed and lead to memory leakage. Fix this by freeing both pointers in hv_remove(). Signed-off-by: Souptick joarder <jrdr.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>