diff options
author | June McEnroe | 2022-05-17 21:50:53 +0000 |
---|---|---|
committer | Yigit Sever | 2023-07-21 03:03:48 +0300 |
commit | 97b02ed443c94670d7e642bbdd5622bd6a9fc51e (patch) | |
tree | 20b0a33f62eb21cbe032c90490c87d3fc1e117f0 /Makefile | |
parent | d8b6edb6c15b3fc9e2f0a1881804cefad19e62b6 (diff) | |
download | cgit-97b02ed443c94670d7e642bbdd5622bd6a9fc51e.tar.gz cgit-97b02ed443c94670d7e642bbdd5622bd6a9fc51e.tar.bz2 cgit-97b02ed443c94670d7e642bbdd5622bd6a9fc51e.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 'Makefile')
0 files changed, 0 insertions, 0 deletions