diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-10-14 00:18:28 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-10-14 00:18:28 +0300 |
commit | 2920971a7fd345eeaa72feae554030850e06aeec (patch) | |
tree | ea429ebcbf796b66ef0524a8723db66be7ca772c /t/helper | |
parent | 09dcbb486d964b59222136dd1668023098658eda (diff) | |
parent | badf2fe1c31f939cac5ea229bba8de273af132d9 (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.c | 2 |
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; } |