aboutsummaryrefslogtreecommitdiffstats
path: root/vector.h
diff options
context:
space:
mode:
authorJune McEnroe2022-05-17 21:50:53 +0000
committerYigit Sever2023-07-21 03:03:48 +0300
commit97b02ed443c94670d7e642bbdd5622bd6a9fc51e (patch)
tree20b0a33f62eb21cbe032c90490c87d3fc1e117f0 /vector.h
parentd8b6edb6c15b3fc9e2f0a1881804cefad19e62b6 (diff)
downloadcgit-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 'vector.h')
0 files changed, 0 insertions, 0 deletions