mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Fixed memory leaks within the ltc ecc code. Memory leak occurs as some of the stats are not free'd during Rmmod. Add a common API to handle the same. Bug 3364181 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Change-Id: I1ec5a7d7e57580bc75b7679c922d1e3af8418f6b Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2652684 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: Sagar Kamble <skamble@nvidia.com> Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com> GVS: Gerrit_Virtual_Submit