qcacmn: Fix memory leak issue

Free allocated memory in dp_vdev_getstats()

Change-Id: Ie67570b8a6b3c3c28ec8f8be1a04c3b7054f02e4
This commit is contained in:
Amir Patel
2019-04-16 12:56:26 +05:30
committed by nshrivas
parent ac7d9465f9
commit 46f39b6f40

View File

@@ -6600,6 +6600,8 @@ static void dp_vdev_getstats(void *vdev_handle,
vdev_stats->rx.multicast.bytes + vdev_stats->rx.multicast.bytes +
vdev_stats->rx.bcast.bytes; vdev_stats->rx.bcast.bytes;
qdf_mem_free(vdev_stats);
} }