-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit fixes a bug in the code that adds a node to TR_LinkedListProfilerInfo. Previously, if the linked list contained two nodes, then adding a third one would result in a memory leak as the third node was not added to the end of the list, but rather as the next node of the first node. This meant that there was no longer any pointer to the original second node in the list. This commit ensures that a new node is always added to the end of the list. Signed-off-by: Irwin D'Souza <[email protected]>
- Loading branch information
Showing
1 changed file
with
33 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters