You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, the implementation stored string pointers directly, causing
issues when multiple elements shared the same memory reference. This
led to test failures checking whether strings were properly copied.
This fix ensures each queue element allocates and copies its own string,
preventing unintended modifications across elements.
Also, added proper cleanup in case of allocation failure.
Change-Id: Ic01c44fcab94b30eb8fbb31b7c85cd8e83c1c567
0 commit comments