summaryrefslogtreecommitdiffstats
path: root/src/H5O.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-04-28 13:59:08 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-04-28 13:59:08 (GMT)
commit66071d5078ad9841c8fbb430881ae2c6e059886e (patch)
tree163bf340ff1c2dcc9aebc35a1bea296a8da0e623 /src/H5O.c
parent4dcf59ae4461eec74a180d77783d9064d2aa3a58 (diff)
downloadhdf5-66071d5078ad9841c8fbb430881ae2c6e059886e.zip
hdf5-66071d5078ad9841c8fbb430881ae2c6e059886e.tar.gz
hdf5-66071d5078ad9841c8fbb430881ae2c6e059886e.tar.bz2
[svn-r377] Changes since 19980424
---------------------- ./src/H5A.c ./src/H5T.c Fixed memory leaks. More to come later but PureAtria doesn't make a Linux version of purify and the free version doesn't compile with the new SMP Linux kernels so I had to debug over the internet on a day that Sprint seemed to be having routing problems... oh well. I got rid of most of the leaks. ./src/H5Apublic.h Includes H5Ipublic.h for types in the header file. ./src/H5O.c Comments improved for H5O_read() ./test/tattr.c Removed a non-ANSI empty initializer. ./test/dsets.c Include <string.h> ./test/istore.c Fixed a non-ANSI pointer conversion.
Diffstat (limited to 'src/H5O.c')
-rw-r--r--src/H5O.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/H5O.c b/src/H5O.c
index 9bf528c..bdf2efd 100644
--- a/src/H5O.c
+++ b/src/H5O.c
@@ -786,7 +786,11 @@ H5O_count (H5G_entry_t *ent, const H5O_class_t *type)
* the null pointer, then this function will malloc() memory
* to hold the result and return its pointer instead.
*
- * Return: Success: Ptr to message in native format.
+ * Return: Success: Ptr to message in native format. The message
+ * should be freed by calling H5O_reset(). If
+ * MESG is a null pointer then the caller should
+ * also call H5MM_xfree() on the return value
+ * after calling H5O_reset().
*
* Failure: NULL
*