diff --git a/.pick_status.json b/.pick_status.json index b99a9d46c74..ad8dd31bece 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -310,7 +310,7 @@ "description": "util: Fix memory leaks in unit test.", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": "d0d14f3f6481e015b4413fa0487164b76fe45296" }, diff --git a/src/util/u_debug_stack_test.cpp b/src/util/u_debug_stack_test.cpp index b5f8ea4ba38..6add3e989b2 100644 --- a/src/util/u_debug_stack_test.cpp +++ b/src/util/u_debug_stack_test.cpp @@ -106,6 +106,9 @@ TEST(u_debug_stack_test, capture_not_overwritten) if (size > 0) { EXPECT_STRNE(bt1, bt2); } + + free(bt1); + free(bt2); } #endif