From: Christopher Broeg <broeg@astro.uni-jena.de>
Subject: Re: many exceptions cause memory leak?
Date: Wed, 26 Oct 2005 14:45:03 +0200
Date: 2005-10-26T14:45:03+02:00 [thread overview]
Message-ID: <djntog$kje$1@lc03.rz.uni-jena.de> (raw)
In-Reply-To: <djaell$395$1@lc03.rz.uni-jena.de>
Hi everybody,
I finally found the (second) reason for the memory leak:
I was calling HDF5 library (c version) functions. When a string was
needed I passed it using
name => cs.new_string("whatever")
this created a new c-pointer and i didn't deallocate it. Stupid mistake,
really. It is the first time I call foreign libraries, so I didn't
comprehend fully what the new_string does.
Thank you all very much for your help!
chris
prev parent reply other threads:[~2005-10-26 12:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-21 10:07 many exceptions cause memory leak? Christopher Broeg
2005-10-21 15:38 ` Frank J. Lhota
2005-10-21 17:59 ` Robert Klungle
2005-10-21 18:13 ` Ed Falis
2005-10-24 11:29 ` Christopher Broeg
2005-10-24 20:00 ` Simon Wright
2005-10-25 7:32 ` Christopher Broeg
2005-10-25 7:42 ` Christopher Broeg
2005-10-25 12:34 ` Alex R. Mosteo
2005-10-25 12:55 ` Alex R. Mosteo
2005-10-25 18:50 ` Wiljan Derks
2005-10-26 10:56 ` Christopher Broeg
2005-10-25 13:09 ` Frank J. Lhota
2005-10-25 14:09 ` Christopher Broeg
2005-10-24 21:27 ` Andreas Schulz
2005-10-26 12:45 ` Christopher Broeg [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox