* [PATCH 1/2] avoid memory leak
[not found] <jamie.couture@gmail.com>
@ 2011-06-02 23:40 ` jamie.couture
2011-06-02 23:40 ` [PATCH 2/2] Add feature: obtain repo section from git config jamie.couture
2011-06-03 7:19 ` [PATCH 1/2] avoid memory leak mailings
0 siblings, 2 replies; 6+ messages in thread
From: jamie.couture @ 2011-06-02 23:40 UTC (permalink / raw)
free rel when we're done
---
scan-tree.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] Add feature: obtain repo section from git config
2011-06-02 23:40 ` [PATCH 1/2] avoid memory leak jamie.couture
@ 2011-06-02 23:40 ` jamie.couture
2011-06-03 7:19 ` [PATCH 1/2] avoid memory leak mailings
1 sibling, 0 replies; 6+ messages in thread
From: jamie.couture @ 2011-06-02 23:40 UTC (permalink / raw)
---
cgit.c | 2 ++
cgit.h | 1 +
cgitrc.5.txt | 8 ++++++++
scan-tree.c | 10 ++++++++++
4 files changed, 21 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] avoid memory leak
2011-06-02 23:40 ` [PATCH 1/2] avoid memory leak jamie.couture
2011-06-02 23:40 ` [PATCH 2/2] Add feature: obtain repo section from git config jamie.couture
@ 2011-06-03 7:19 ` mailings
1 sibling, 0 replies; 6+ messages in thread
From: mailings @ 2011-06-03 7:19 UTC (permalink / raw)
On 06/03/2011 01:40 AM, jamie.couture at gmail.com wrote:
>
> free rel when we're done
> ---
> scan-tree.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
>
>
>
> _______________________________________________
> cgit mailing list
> cgit at hjemli.net
> http://hjemli.net/mailman/listinfo/cgit
i see no patches...
--
Ferry Huberts
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] avoid memory leak
2011-06-03 23:21 ` [PATCH 1/2] avoid memory leak jamie.couture
@ 2011-06-06 16:57 ` larsh
0 siblings, 0 replies; 6+ messages in thread
From: larsh @ 2011-06-06 16:57 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] avoid memory leak
2011-06-03 23:21 [PATCH 0/2] Set section via git config jamie.couture
@ 2011-06-03 23:21 ` jamie.couture
2011-06-06 16:57 ` larsh
0 siblings, 1 reply; 6+ messages in thread
From: jamie.couture @ 2011-06-03 23:21 UTC (permalink / raw)
From: Jamie Couture <jamie.couture at gmail.com>
free rel when we're done
---
scan-tree.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/scan-tree.c b/scan-tree.c
index 627af1b..3f579ec 100644
--- 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)
--
1.7.5.4
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/2] avoid memory leak
@ 2011-06-03 13:54 jamie.couture
0 siblings, 0 replies; 6+ messages in thread
From: jamie.couture @ 2011-06-03 13:54 UTC (permalink / raw)
free rel when we're done
---
scan-tree.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-06 16:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <jamie.couture@gmail.com>
2011-06-02 23:40 ` [PATCH 1/2] avoid memory leak jamie.couture
2011-06-02 23:40 ` [PATCH 2/2] Add feature: obtain repo section from git config jamie.couture
2011-06-03 7:19 ` [PATCH 1/2] avoid memory leak mailings
2011-06-03 13:54 jamie.couture
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 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).