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 /reflog.h | |
| 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 'reflog.h')
| -rw-r--r-- | reflog.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,8 @@ struct reflog_expire_options { int reflog_expire_config(const char *var, const char *value, const struct config_context *ctx, void *cb); +void reflog_clear_expire_config(struct reflog_expire_options *opts); + /* * Adapt the options so that they apply to the given refname. This applies any * per-reference reflog expiry configuration that may exist to the options. |
