diff options
| author | Ashish Kumar Dhanotiya <adhanoti@codeaurora.org> | 2017-02-27 16:14:07 +0530 |
|---|---|---|
| committer | Prakash Dhavali <pdhavali@codeaurora.org> | 2017-03-09 21:08:49 -0800 |
| commit | 7ebdd16d6ad5559ecb37b5ccf77b044cb97d94dd (patch) | |
| tree | 8f844389035c72d0c0d8edf5e73903de7be0bf12 /core/utils/logging | |
| parent | 161757bd66fe393acdd2942c2e166e4798117d9c (diff) | |
qcacld-3.0: Fix wlan log svc leaks
There is a memory leak within wlan logging thread.
To address this issue free the memory at appropriate places.
Change-Id: I41c7756d6547c0bfa783a48ebc31c9f1ef0df5db
CRs-Fixed: 2011525
Diffstat (limited to 'core/utils/logging')
| -rw-r--r-- | core/utils/logging/src/wlan_logging_sock_svc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/utils/logging/src/wlan_logging_sock_svc.c b/core/utils/logging/src/wlan_logging_sock_svc.c index cdc6e9860ac4..4be3e1dff3f3 100644 --- a/core/utils/logging/src/wlan_logging_sock_svc.c +++ b/core/utils/logging/src/wlan_logging_sock_svc.c @@ -745,10 +745,6 @@ static int send_filled_buffers_to_user(void) if (ret < 0 && (!(gwlan_logging.drop_count % 0x40))) { pr_err("%s: Send Failed %d drop_count = %u\n", __func__, ret, ++gwlan_logging.drop_count); - skb = NULL; - } else { - skb = NULL; - ret = 0; } } |
