Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merlin/linkcontrol: fix memory leak on insufficient send credits
LinkControl::send allocates a RtrEvent to first compute the number of flits needed to send a request. If there's not enough credits, the method returns early without deleting the RtrEvent object and leaks its memory. This patch deletes the object before returning to fix the leak.
- Loading branch information