]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/reflog.c
reflog: free() ref given to us by dwim_log()
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 22 Oct 2021 08:55:44 +0000 (10:55 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 23 Oct 2021 17:45:25 +0000 (10:45 -0700)
commit3c8150497f3c77a2c57e73c53bd3de933b85d9a3
treee1cad970c4dcbb596aa5258fd84826d2b0a09a16
parentc270b055d94b643b0ac8bcb390b82330aee01a34
reflog: free() ref given to us by dwim_log()

When dwim_log() returns the "ref" is always ether NULL or an
xstrdup()'d string.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/reflog.c