[PATCH 1/2] avoid memory leak
larsh at hjemli.net
larsh at hjemli.net
Mon Jun 6 18:57:29 CEST 2011
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
More information about the CGit
mailing list