Thread (1 message) 1 message, 1 author, 2023-01-13

Re: [PATCH v3 13/19] builtin/merge.c: always free "struct strbuf msg"

From: Junio C Hamano <hidden>
Date: 2023-01-13 19:58:09

René Scharfe [off-list ref] writes:
Am 10.01.23 um 06:43 schrieb Ævar Arnfjörð Bjarmason:
quoted
Follow-up 465028e0e25 (merge: add missing strbuf_release(),
2021-10-07) and address the "msg" memory leak in this block. We could
free "&msg" before the "goto done" here, but even better is to avoid
allocating it in the first place.
So contrary to the subject we don't need to free it anymore.
;-)  I appreciate such careful reading.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help