commit | 5347b0c73bbaa8b3b8d3a15014188d9c27da644a | [log] [tgz] |
---|---|---|
author | Yuanyuan Liu <yuanliu@codeaurora.org> | Wed May 24 11:57:37 2017 -0700 |
committer | Yuanyuan Liu <yuanliu@codeaurora.org> | Thu May 25 14:22:02 2017 -0700 |
tree | 8b00a2c4d4dc96abb6e07636af5a0d9ea6b7de51 | |
parent | f48b62b71396eb55e76d9e5f015954c53d2b4e03 [diff] |
icnss: Free regread buffer before allocating new one Free already allocated buffer before allocating new one to avoid memory leak when someone keep writing to this file but never read it. CRs-Fixed: 2051862 Change-Id: I29784fb30ea8eed315b7d073d35480972642bc55 Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>