octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Leak in Array<T> class


From: Paul Thomas
Subject: Re: Memory Leak in Array<T> class
Date: Sun, 31 Oct 2004 11:36:47 +0100

David,

I notice that you do not provide a solution.  Is there some subtlety that I
am missing or does replacing

>   Array (void)
>     : rep (nil_rep ()), dimensions (),
>       idx (0), idx_count (0) { rep->count++; }

with

>   Array (void)
>     : rep (nil_rep ()), dimensions (),
>       idx (0), idx_count (0) { }

not fix the problem?

Paul T



reply via email to

[Prev in Thread] Current Thread [Next in Thread]