diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-09-30 11:13:30 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-09-30 11:23:04 -0700 |
| commit | 64fe1e4a8c8731919b0bb26f6e8b9f8a0f4b0477 (patch) | |
| tree | 2a1e2b7ba2530df32dcf039f029b48c6c467c144 /diffcore.h | |
| parent | 5cca114973c602c9f8516e9ed34c76fd75fb999e (diff) | |
| download | git-64fe1e4a8c8731919b0bb26f6e8b9f8a0f4b0477.tar.gz | |
builtin/stash: fix leaking `pathspec_from_file`
The `OPT_PATHSPEC_FROM_FILE()` option maps to `OPT_FILENAME()`, which we
know will always allocate memory when passed. We never free the memory
though, causing a memory leak. Plug it.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore.h')
0 files changed, 0 insertions, 0 deletions
