commit | ec015d363fa82c67ab08083024db14af8fe7a878 | [log] [tgz] |
---|---|---|
author | Arun Mirpuri <quic_amirpuri@quicinc.com> | Thu Oct 21 17:01:32 2021 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Oct 22 10:36:34 2021 -0700 |
tree | b9205749e8a3ffff12a35668595167ddb12bc790 | |
parent | 7952201964cd10c0e14ca2f5a87d17a837b560c4 [diff] |
agm: Do not close read/write fd in ipc_callback context Do not close read/write fd in ipc_callback context Change-Id: Icbe48ebd3e17bee58bd520733b717ebe6f7e5f11
diff --git a/ipc/HwBinders/agm_ipc_service/src/agm_server_wrapper.cpp b/ipc/HwBinders/agm_ipc_service/src/agm_server_wrapper.cpp index 0875084..4689564 100644 --- a/ipc/HwBinders/agm_ipc_service/src/agm_server_wrapper.cpp +++ b/ipc/HwBinders/agm_ipc_service/src/agm_server_wrapper.cpp
@@ -336,7 +336,6 @@ // allocated during read_with_metadata() if (rw_done_payload->buff.metadata) free(rw_done_payload->buff.metadata); - close(rw_done_payload->buff.alloc_info.alloc_handle); } else { evt_param_l.resize(sizeof(struct agm_event_cb_params) + evt_param->event_payload_size);