diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-08-01 11:27:11 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-01 11:27:11 -0700 |
| commit | a2384a76e7d62ee5a628c82ee4e29c16c14c0168 (patch) | |
| tree | 3c2a240673a5912999b7b4a86facc4691236f610 /builtin/gc.c | |
| parent | 152871b88b317e3c0781d2503de2b8a37bcc2146 (diff) | |
| parent | 26552cb62a5b375d4df651184941edf84f88a485 (diff) | |
| download | git-a2384a76e7d62ee5a628c82ee4e29c16c14c0168.tar.gz | |
Merge branch 'jk/unleak-reflog-expire-entry'
Leakfix.
* jk/unleak-reflog-expire-entry:
reflog: close leak of reflog expire entry
Diffstat (limited to 'builtin/gc.c')
| -rw-r--r-- | builtin/gc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/gc.c b/builtin/gc.c index fab8f4dd4f..a02d6b7806 100644 --- a/builtin/gc.c +++ b/builtin/gc.c @@ -346,6 +346,7 @@ static int reflog_expire_condition(struct gc_config *cfg UNUSED) count_reflog_entries, &data); reflog_expiry_cleanup(&data.policy); + reflog_clear_expire_config(&data.policy.opts); return data.count >= data.limit; } |
