[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cgit
Subject:    [PATCH 1/2] avoid memory leak
From:       larsh () hjemli ! net (larsh at hjemli ! net)
Date:       2011-06-06 16:57:29
Message-ID: 20110606165729.GA6957 () hjemli ! net
[Download RAW message or body]

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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic