summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSet.cpp
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 18:21:30 (GMT)
committerGitHub <noreply@github.com>2023-07-27 18:21:30 (GMT)
commit6ab73579f801a95a33359bf6f81d62fea99333d4 (patch)
tree8f5577ac3ad3918d3fd8ee9dd79dae4d4a47482f /c++/src/H5DataSet.cpp
parent576aed793157c2c07a623f317ca65421fc2e73b4 (diff)
downloadhdf5-6ab73579f801a95a33359bf6f81d62fea99333d4.zip
hdf5-6ab73579f801a95a33359bf6f81d62fea99333d4.tar.gz
hdf5-6ab73579f801a95a33359bf6f81d62fea99333d4.tar.bz2
Normalize C++ w/ develop (#3279)
Diffstat (limited to 'c++/src/H5DataSet.cpp')
-rw-r--r--c++/src/H5DataSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp
index 7d19a6d..40b40f2 100644
--- a/c++/src/H5DataSet.cpp
+++ b/c++/src/H5DataSet.cpp
@@ -729,7 +729,7 @@ DataSet::p_read_fixed_len(const hid_t mem_type_id, const hid_t mem_space_id, con
}
// Get string from the C char* and release resource allocated locally
- strg = strg_C;
+ strg = H5std_string(strg_C, data_size);
delete[] strg_C;
}
}