[geos-devel] Coordinate Destruction
strk
strk at keybit.net
Tue Oct 7 06:06:14 EDT 2003
me wrote:
> As far as I know most of Coordinates are created as instance variables and not
> as pointers, so they should be destroyed automatically. And if any of the few
> non-instance Coordinates were not destroyed, hopefully my memory leak finder
> should have detected that. However, there is a chance that it didn't (based on
> some recent emails it seems that some peculiar leak type is not detected by the
> software that I use) Can you send me your test code and Valgrind report so I can
> try to figure it out?
>
> Yury
I figured out myself.
They are created in static data initialization, thus never released.
--strk;
>
> ----- Original Message -----
> From: "strk" <strk at keybit.net>
> To: <geos-devel at geos.refractions.net>
> Sent: Monday, October 06, 2003 11:39 AM
> Subject: [geos-devel] Coordinate Destruction
>
>
> >
> > As a debugging test I made Coordinate constructors
> > and destructor print a message containing own address.
> >
> > It seems that a lot of Coordinates are created without being
> > ever destroyed. Is it a distorted perception of the Object
> > Oriented World I'm having here ?
> >
> > --strk;
> >
> > _______________________________________________
> > geos-devel mailing list
> > geos-devel at geos.refractions.net
> > http://geos.refractions.net/mailman/listinfo/geos-devel
>
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel
More information about the geos-devel
mailing list