summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRakesh Pillai <pillair@codeaurora.org>2017-07-25 15:04:17 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-25 22:34:14 -0700
commit69a6025f67b41a3b03e165db46ea7d346a45ae81 (patch)
tree6f88b841389f915fff28587508dd5a0b9e125662 /tools/perf/scripts/python/export-to-postgresql.py
parenta37c10a168059d04b2072edd5d647a65e41aa2f3 (diff)
ath10k: fix memory leak in rx ring buffer allocation
The rx ring buffers are added to a hash table if firmare support full rx reorder. If the full rx reorder support flag is not set before allocating the rx ring buffers, none of the buffers are added to the hash table. When we unload the module, this hash table is checked for freeing the allocated rx ring buffers. Since none of the rx ring buffers were added to the hash table, this memory is leaked. Set the rx full reorder support flag before we allocate the rx ring buffer to avoid the memory leak. CRs-Fixed: 2081334 Change-Id: I6b7cbe05b914cf9aedd8e1ad54ccc4738f8b01e8 Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions