Re: [PATCH] t0006: date_mode can leak .strftime_fmt member

Started by Junio C Hamano on Nov 16, 2021

open the first message on its own page

Message details and related content
Ævar Arnfjörð Bjarmason  [off-list ref] writes:
As there is no date_mode_release() API function, and given the
set of current callers it probably is not worth adding one, let's
release the .strftime_fmt member that is obtained from strdup()
before the caller of show_date() is done with it.
I do not know what the last line exactly wants to say.  Perhaps the
original author meant "after", not "before"? ;-)
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help