mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 10:10:35 +08:00
systemcmds/tests: IntrusiveQueue and List fix memory leaks
This commit is contained in:
@@ -243,7 +243,7 @@ bool IntrusiveQueueTest::test_remove()
|
||||
for (auto t : q1) {
|
||||
if (t->i == remove_i) {
|
||||
ut_assert_true(q1.remove(t));
|
||||
t = removed;
|
||||
removed = t;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user