commit | 204681c341058fe13418b8d70fe81da1c35e020d | [log] [tgz] |
---|---|---|
author | Deru Wang <quic_deruwang@quicinc.com> | Fri Sep 23 20:55:12 2022 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Oct 06 13:19:45 2022 -0700 |
tree | 11322e5167ff1e8786f1d6f729d086e314682d4e | |
parent | 21351394b8ab9475b7389453bbcd351ba579e4b9 [diff] |
agm: free session callback list when closing session 1, In current code, the session cb won't be freed when we use "agm_session_register_cb(priv->session_id, NULL, ...)" because the cb becomes the address of ipc_cb func instead of NULL in ipc. So we need to refine the action for NULL situation. 2, Fix two memory leaks in agm and ipc. Change-Id: Ia4258a3c34a3babc14c47bff7240edca30f77d6e Signed-off-by: Deru Wang <quic_deruwang@quicinc.com>