diff options
author | June McEnroe <june@causal.agency> | 2022-05-17 21:50:53 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-12-19 14:09:34 +0000 |
commit | b9ff119549f6018adc54c8447ad87943c6bcb55e (patch) | |
tree | b64a6420cba0cafeb4597530f986686c8707eb12 /ui-clone.h | |
parent | bb02e24ec23d7f1893fc746c8199e88ab849cf86 (diff) | |
download | cgit-b9ff119549f6018adc54c8447ad87943c6bcb55e.tar cgit-b9ff119549f6018adc54c8447ad87943c6bcb55e.tar.gz cgit-b9ff119549f6018adc54c8447ad87943c6bcb55e.zip |
shared: fix bad free in cgit_diff_tree
Since git commit 244c27242f44e6b88e3a381c90bde08d134c274b,
> diff.[ch]: have diff_free() call clear_pathspec(opts.pathspec)
calling diff_flush calls free(3) on opts.pathspec.items, so it can't
be a pointer to a stack variable.
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'ui-clone.h')
0 files changed, 0 insertions, 0 deletions