I think the problem is that the library currently does not provide a
matching H5XYZfree call
for some of the resources it allocates for you. Non C APIs compound the
problem and lead to the
obscure behavior you're seeing. 'free' is a well-intended guess, but still a
guess. 

G.

-----Original Message-----
From: Hdf-forum [mailto:[email protected]] On Behalf Of sahon
Sent: Thursday, November 08, 2012 9:38 AM
To: [email protected]
Subject: Re: [Hdf-forum] free memory for variable length types


actually it doesn't go to try..catch,  IDE (VS 2008 the same VS 2010) stops
on line: *free(readStr[i]); //causes exception *

here is content of output:

HEAP[HDF2008.exe]: Invalid address specified to RtlValidateHeap( 00920000,
005CACE8 )
Windows has triggered a breakpoint in HDF2008.exe.

This may be due to a corruption of the heap, which indicates a bug in
HDF2008.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while HDF2008.exe has focus.

The output window may have more diagnostic information.

i've also attached screenshot

<http://hdf-forum.184993.n3.nabble.com/file/n4025568/hdf_free.png> 



--
View this message in context:
http://hdf-forum.184993.n3.nabble.com/free-memory-for-variable-length-types-
tp4025565p4025568.html
Sent from the hdf-forum mailing list archive at Nabble.com.

_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org


_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org

Reply via email to