summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSouptick Joarder <jrdr.linux@gmail.com>2016-10-31 14:26:05 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-07 13:24:52 +0300
commitbd4fcdaddc8d8d77bd10083f2e8f05c2896b7f4a (patch)
tree60c1c77725f2de832888de4bf9fde341e3ad21ad /include
parent1ecf034bed34824239c71013c53872cd3cbb327a (diff)
downloadlinux-bd4fcdaddc8d8d77bd10083f2e8f05c2896b7f4a.tar.xz
staging : rtl8712: Free memory when kmalloc fails
There are few functions where we need to free previously allocated memory when kmalloc fails. Else it may lead to memory leakage. In _init_cmd_priv() and _r8712_init_xmit_priv(), in few places we are not freeing previously allocated memory when kmalloc fails. Signed-off-by: Souptick joarder <jrdr.linux@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions