mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 18:50:34 +08:00
systemcmds/tests: IntrusiveQueue and List fix memory leaks
This commit is contained in:
@@ -136,7 +136,7 @@ bool ListTest::test_remove()
|
||||
for (auto t : list1) {
|
||||
if (t->i == remove_i) {
|
||||
ut_assert_true(list1.remove(t));
|
||||
t = removed;
|
||||
removed = t;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user