mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
qcacmn: Fix memory leak issue
Free allocated memory in dp_vdev_getstats() Change-Id: Ie67570b8a6b3c3c28ec8f8be1a04c3b7054f02e4
This commit is contained in:
parent
ac7d9465f9
commit
46f39b6f40
1 changed files with 2 additions and 0 deletions
|
|
@ -6600,6 +6600,8 @@ static void dp_vdev_getstats(void *vdev_handle,
|
|||
vdev_stats->rx.multicast.bytes +
|
||||
vdev_stats->rx.bcast.bytes;
|
||||
|
||||
qdf_mem_free(vdev_stats);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue