[VNET 0004270]: Memoryleak in FindRange

Ivan Smahin ivan_smahin at paradigmasoft.com
Sun May 24 04:40:39 CDT 2009


Hello Ruslan,

Sunday, May 24, 2009, 12:33:34 PM, you wrote:

> On 5/24/09 12:31 PM, "Thomas Flemming" <tf at ttqv.com> wrote:

> Hi Thomas,

>> I just tried the 4.2b7, but the memoryleak-bug is still in.
>> Please guys, I'm somehow stucked without this fix... ;-)

> Actually b7 should contains fix

> Ivan?

> May be more leaks present ??


It is copied from http://www.valentina-db.com/bt/view.php?id=4270
(28.04.2009)

1. There is unmanaged resource under IVBitSet object.
So it should be freed (explicitly calling IVBitSet::Dispose() method) by you.

It should be something like:

resultSet = fldCat.FindRange(False, 0, e.max_cat, True)
... do something with resultSet ...
resultSet.Dispose()

2. vSet::Dispose() contained a bug. It is fixed now.



-- 
Best regards,
Ivan Smahin 
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com



More information about the Valentina mailing list