summaryrefslogtreecommitdiffstats
path: root/drivers/misc/apds990x.c
diff options
context:
space:
mode:
authorShreyas Bhatewara <sbhatewara@vmware.com>2015-06-19 22:37:03 +0200
committerDavid S. Miller <davem@davemloft.net>2015-06-23 15:26:00 +0200
commitc41fcce997d2caa039a46495d40423348c51ad61 (patch)
tree35437d5c46e22fdc34f12ca2627bf0f4a1e6ad6a /drivers/misc/apds990x.c
parentvmxnet3: Register shutdown handler for device (fwd) (diff)
downloadlinux-c41fcce997d2caa039a46495d40423348c51ad61.tar.xz
linux-c41fcce997d2caa039a46495d40423348c51ad61.zip
vmxnet3: Fix memory leaks in rx path (fwd)
If rcd length was zero, the page used for frag was not being released. It was being replaced with a newly allocated page. This change takes care of that memory leak. Signed-off-by: Guolin Yang <gyang@vmware.com> Signed-off-by: Shreyas N Bhatewara <sbhatewara@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/misc/apds990x.c')
0 files changed, 0 insertions, 0 deletions