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/reflog.c | |
| parent | Merge branch 'jc/do-not-scan-argv-without-parsing' (diff) | |
| parent | reflog: close leak of reflog expire entry (diff) | |
| download | git-a2384a76e7d62ee5a628c82ee4e29c16c14c0168.tar.gz git-a2384a76e7d62ee5a628c82ee4e29c16c14c0168.zip | |
Merge branch 'jk/unleak-reflog-expire-entry'
Leakfix.
* jk/unleak-reflog-expire-entry:
reflog: close leak of reflog expire entry
Diffstat (limited to 'builtin/reflog.c')
| -rw-r--r-- | builtin/reflog.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/reflog.c b/builtin/reflog.c index 3acaf3e32c..d4da41aaea 100644 --- a/builtin/reflog.c +++ b/builtin/reflog.c @@ -283,6 +283,9 @@ static int cmd_reflog_expire(int argc, const char **argv, const char *prefix, &cb); free(ref); } + + reflog_clear_expire_config(&opts); + return status; } |
