diff options
| author | CNSS_WLAN Service <cnssbldsw@qualcomm.com> | 2017-09-04 09:21:18 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-04 09:21:18 -0700 |
| commit | aa749e5dd6eb4e0beb4709b6d84b3c82bec56aae (patch) | |
| tree | 341c6f5e98b066edd0674038385f095c5f529918 | |
| parent | d202d263b643e389befc01e051923bca266f2fc5 (diff) | |
| parent | 5dd3e789a6a4df08bdef1a02078936f76b02791c (diff) | |
Merge "qcacld-3.0: free the allocated memory for message post failure" into wlan-cld3.driver.lnx.1.1
| -rw-r--r-- | core/dp/txrx/ol_txrx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/dp/txrx/ol_txrx.c b/core/dp/txrx/ol_txrx.c index b0804d29214a..9f992a2398bf 100644 --- a/core/dp/txrx/ol_txrx.c +++ b/core/dp/txrx/ol_txrx.c @@ -5418,9 +5418,11 @@ void ol_txrx_post_data_stall_event( status = cds_mq_post_message(QDF_MODULE_ID_SYS, &msg); - if (status != QDF_STATUS_SUCCESS) + if (status != QDF_STATUS_SUCCESS) { QDF_TRACE(QDF_MODULE_ID_TXRX, QDF_TRACE_LEVEL_ERROR, "%s: failed to post data stall msg to SYS", __func__); + qdf_mem_free(data_stall_info); + } } void |
