summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_parse.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-24 14:39:17 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-24 14:39:17 (GMT)
commit5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58 (patch)
tree3cf313ebed818a6f4d1fc6c068be17dc0b0f4eec /tools/h5repack/h5repack_parse.c
parent944f2cdf8d7f3d665ac9e72fe2267826e8abb047 (diff)
downloadhdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.zip
hdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.tar.gz
hdf5-5b1c9ffe2d7ba0dd906836cb844c7504aa96aa58.tar.bz2
[svn-r21980] Correct HD prefix in tools for *alloc
Checked for HD support.
Diffstat (limited to 'tools/h5repack/h5repack_parse.c')
-rw-r--r--tools/h5repack/h5repack_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_parse.c b/tools/h5repack/h5repack_parse.c
index 6fab819..5cdf9d2 100644
--- a/tools/h5repack/h5repack_parse.c
+++ b/tools/h5repack/h5repack_parse.c
@@ -88,7 +88,7 @@ obj_list_t* parse_filter(const char *str,
}
n++;
- obj_list = (obj_list_t*) malloc(n*sizeof(obj_list_t));
+ obj_list = (obj_list_t*) HDmalloc(n*sizeof(obj_list_t));
if (obj_list==NULL)
{
error_msg("could not allocate object list\n");
@@ -509,7 +509,7 @@ obj_list_t* parse_layout(const char *str,
}
n++;
- obj_list = (obj_list_t*) malloc(n*sizeof(obj_list_t));
+ obj_list = (obj_list_t*) HDmalloc(n*sizeof(obj_list_t));
if (obj_list==NULL)
{
error_msg("could not allocate object list\n");