List for cgit developers and users
 help / color / mirror / Atom feed
From: larsh at hjemli.net (larsh at hjemli.net)
Subject: [PATCH 1/2] avoid memory leak
Date: Mon, 6 Jun 2011 16:57:29 +0000	[thread overview]
Message-ID: <20110606165729.GA6957@hjemli.net> (raw)
In-Reply-To: <1307143262-11018-2-git-send-email-jamie.couture@gmail.com>

On Fri, Jun 03, 2011 at 07:21:01PM -0400, Jamie Couture wrote:
> --- a/scan-tree.c
> +++ b/scan-tree.c
> @@ -155,6 +155,8 @@ static void add_repo(const char *base, const char *path, repo_config_fn fn)
>  		config_fn = fn;
>  		parse_configfile(xstrdup(p), &repo_config);
>  	}
> +
> +	free(rel);
>  }
>  
>  static void scan_path(const char *base, const char *path, repo_config_fn fn)

Thanks. Can I add 'Signed-off by' from you on this?

--
larsh




  reply	other threads:[~2011-06-06 16:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-03 23:21 [PATCH 0/2] Set section via git config jamie.couture
2011-06-03 23:21 ` [PATCH 1/2] avoid memory leak jamie.couture
2011-06-06 16:57   ` larsh [this message]
2011-06-03 23:21 ` [PATCH 2/2] Add feature: obtain repo section from git config jamie.couture
2011-06-06 17:13   ` larsh
2011-06-06 17:38     ` mailings
2011-06-06 17:48       ` larsh
2011-06-06 18:18         ` mailings
2011-06-06 18:31       ` jamie.couture
2011-06-06 18:39         ` mailings
  -- strict thread matches above, loose matches on Subject: below --
2011-06-03 13:54 [PATCH 1/2] avoid memory leak jamie.couture
     [not found] <jamie.couture@gmail.com>
2011-06-02 23:40 ` jamie.couture
2011-06-03  7:19   ` mailings

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20110606165729.GA6957@hjemli.net \
    --to=cgit@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).