summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Warren <Richard.Warren@hdfgroup.org>2018-12-26 14:46:44 (GMT)
committerRichard Warren <Richard.Warren@hdfgroup.org>2018-12-26 14:46:44 (GMT)
commit1faa2466ccb182e92471754d21b3fde408287f2a (patch)
tree6c79b1aceeb0b1d05ef8aa998d9e7a811b86e509 /src
parent18644d3bc234cb58b62ad072925f9f47595c855b (diff)
downloadhdf5-1faa2466ccb182e92471754d21b3fde408287f2a.zip
hdf5-1faa2466ccb182e92471754d21b3fde408287f2a.tar.gz
hdf5-1faa2466ccb182e92471754d21b3fde408287f2a.tar.bz2
Reintroduce a commented out memory free which had been in the original code
Diffstat (limited to 'src')
-rw-r--r--src/H5Xfastbit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Xfastbit.c b/src/H5Xfastbit.c
index 3abbeee..0eb71a3 100644
--- a/src/H5Xfastbit.c
+++ b/src/H5Xfastbit.c
@@ -1982,7 +1982,7 @@ H5X__fastbit_create_selection(H5X_fastbit_t *fastbit, hid_t dataspace_id,
HDmemset(new_coords, 0, sizeof(new_coords));
/* Initialize count */
#ifdef LIMIT_RESULTS_FOR_TESTING
- if (colimit > 1000) colimit = 1000;
+ if (colimit > 10000) colimit = 10000;
#endif
for (i = 0; i < H5S_MAX_RANK; i++)
count[i] = 1;
@@ -2305,7 +2305,7 @@ H5X_fastbit_post_update(void *idx_handle, const void *data, hid_t dataspace_id,
HGOTO_ERROR(H5E_INDEX, H5E_CANTCREATE, FAIL, "can't create index data from dataset");
done:
-// H5MM_free(buf);
+ H5MM_free(buf);
H5X_FASTBIT_LOG_DEBUG("Leave");
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5X_fastbit_post_update() */