summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2019-02-01 21:12:39 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2019-02-01 21:12:39 (GMT)
commit5f1f231310bcb3278f11a51e1ea47782f6ee3235 (patch)
treeaedfd1e00e242cfa6a5be20c48e883517ecf203a /src
parent99d70c494d72bed9c2961348a659696090752ac5 (diff)
downloadhdf5-5f1f231310bcb3278f11a51e1ea47782f6ee3235.zip
hdf5-5f1f231310bcb3278f11a51e1ea47782f6ee3235.tar.gz
hdf5-5f1f231310bcb3278f11a51e1ea47782f6ee3235.tar.bz2
Updated H5Dio.c comment.
Diffstat (limited to 'src')
-rw-r--r--src/H5Dio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 4fdbebd..2f87e38 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -1031,12 +1031,9 @@ H5D__typeinfo_init(const H5D_t *dset, hid_t mem_type_id, hbool_t do_write,
if(type_info->request_nelmts == 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "temporary buffer max size is too small")
- /*
- * Get a temporary buffer for type conversion unless the app has already
+ /* Get a temporary buffer for type conversion unless the app has already
* supplied one through the xfer properties. Instead of allocating a
- * buffer which is the exact size, we allocate the target size. The
- * malloc() is usually less resource-intensive if we allocate/free the
- * same size over and over.
+ * buffer which is the exact size, we allocate the target size.
*/
if(NULL == (type_info->tconv_buf = (uint8_t *)tconv_buf)) {
/* Allocate temporary buffer */