[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: leak? Re: [gnugo-devel] owl goal dragon gets cut
From: |
Arend Bayer |
Subject: |
Re: leak? Re: [gnugo-devel] owl goal dragon gets cut |
Date: |
Tue, 7 Sep 2004 13:56:41 +0200 (CEST) |
I wrote:
> Douglas wrote:
> >
> > On Mon, 23 Aug 2004, Arend Bayer wrote:
> >
> > > +static void
> > > +owl_test_cuts(char goal[BOARDMAX], int color, int cuts[MAX_CUTS])
> > > +{
> > [...]
> > > + if (found_cut) {
> > [...]
> > > + struct connection_data* conn_data;
> > [...]
> > > + conn_data = malloc(sizeof(struct connection_data) * num_components);
> >
> > Does this need to get freed somewhere? If so, would this be a good place?
>
> Yes I noted this too after I wondered why I was running short of ram and
> was already getting mad at these java memory hogs :))
...but unfortunately fixed it in the wrong tree over here. Hence the
leak propagated to CVS. It is now fixed via arend_7_1.8a.
Arend
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: leak? Re: [gnugo-devel] owl goal dragon gets cut,
Arend Bayer <=