# RE: \[PATCH 1/2\] librdmacm: Fix resource leak in error flow

- From: Hefty, Sean \<hidden\>
- Date: 2011-08-23 23:00:08 
- List: linux-rdma
- Page: https://ratatoskr.run/linux-rdma/2011/08/15416013
- Thread: https://ratatoskr.run/linux-rdma/2011/08/15416013/t.md

```text
> Prevent resource leak by destroying the event channel before returning from
> function in an error flow.

Thanks - I applied this patch after my patch "Fix resource leak when CMA_CREATE_MSG_CMD_RESP fails"

- Sean

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
