Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t/helper
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-10-14 00:18:28 +0300
committerJunio C Hamano <gitster@pobox.com>2023-10-14 00:18:28 +0300
commit2920971a7fd345eeaa72feae554030850e06aeec (patch)
treeea429ebcbf796b66ef0524a8723db66be7ca772c /t/helper
parent09dcbb486d964b59222136dd1668023098658eda (diff)
parentbadf2fe1c31f939cac5ea229bba8de273af132d9 (diff)
Merge branch 'jk/decoration-and-other-leak-fixes'
Leakfix. * jk/decoration-and-other-leak-fixes: daemon: free listen_addr before returning revision: clear decoration structs during release_revisions() decorate: add clear_decoration() function
Diffstat (limited to 't/helper')
-rw-r--r--t/helper/test-example-decorate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/helper/test-example-decorate.c b/t/helper/test-example-decorate.c
index 2ed910adaa..8f59f6be4c 100644
--- a/t/helper/test-example-decorate.c
+++ b/t/helper/test-example-decorate.c
@@ -72,5 +72,7 @@ int cmd__example_decorate(int argc UNUSED, const char **argv UNUSED)
if (objects_noticed != 2)
BUG("should have 2 objects");
+ clear_decoration(&n, NULL);
+
return 0;
}