comp.lang.ada
 help / color / mirror / Atom feed
From: Emmanuel Briot <briot.emmanuel@gmail.com>
Subject: Re: Memory leak in GNATcoll or false positive from valgrind?
Date: Sun, 30 Jan 2011 11:24:20 -0800 (PST)
Date: 2011-01-30T11:24:20-08:00	[thread overview]
Message-ID: <bb467886-b34b-4f99-aa51-70cba6c441aa@33g2000pru.googlegroups.com> (raw)
In-Reply-To: 4d43fb20$0$23765$14726298@news.sunsite.dk

> So, is this valgrind reporting a false positive, or am I doing something
> wrong?

Depends on your point of view.
You have to somehow call GNATCOLL.SQL.Exec.Free (Database_Connection)
if you properly want to release the memory. Or you can setup valgrind
so that it ignores this "leak" (not really a leak, just some memory
that is automatically freed when the process goes away, but memory
usage does not grow up as your program lives).



  parent reply	other threads:[~2011-01-30 19:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-29 11:33 Memory leak in GNATcoll or false positive from valgrind? Thomas Løcke
2011-01-29 14:34 ` Thomas Løcke
2011-01-30 19:24 ` Emmanuel Briot [this message]
2011-01-31  7:06   ` Thomas Løcke
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox