archive mirror
 help / color / mirror / Atom feed
From: Anthony Delannoy <>
Cc: Anthony Delannoy <>
Subject: [PATCH v2 0/1] pathspec: fix memleak
Date: Mon, 22 Aug 2022 23:15:06 +0200	[thread overview]
Message-ID: <> (raw)

Changes since v1:
- use directly clear_pathspec() function instead of multiple free()

Sending this patch to fix a memleak, created with copy_pathspec, found
thanks to the address sanitizer.


Anthony Delannoy (1):
  pathspec: fix memleak

 preload-index.c | 6 ++++++
 1 file changed, 6 insertions(+)

base-commit: 795ea8776befc95ea2becd8020c7a284677b4161

             reply	other threads:[~2022-08-22 21:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22 21:15 Anthony Delannoy [this message]
2022-08-22 21:15 ` [PATCH v2 1/1] pathspec: fix memleak Anthony Delannoy
2022-08-22 21:41   ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).