summaryrefslogtreecommitdiff
path: root/upload-pack.h
diff options
context:
space:
mode:
authorLibravatar Ævar Arnfjörð Bjarmason <avarab@gmail.com>2021-10-22 10:55:39 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-23 10:45:25 -0700
commita2fb7672c03eef86b8dbf33699c12307d504a299 (patch)
tree87b1b3e4f365979304468e135e36f999f3bcfcbd /upload-pack.h
parentThe fourteenth batch (diff)
downloadtgif-a2fb7672c03eef86b8dbf33699c12307d504a299.tar.xz
grep: prefer "struct grep_opt" over its "void *" equivalent
Stylistically fix up code added in bfac23d9534 (grep: Fix two memory leaks, 2010-01-30). We usually don't use the "arg" at all once we've casted it to the struct we want, let's not do that here when we're freeing it. Perhaps it was thought that a cast to "void *" would otherwise be needed? Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'upload-pack.h')
0 files changed, 0 insertions, 0 deletions