summaryrefslogtreecommitdiffstats
path: root/test/unregister.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2013-05-06 20:51:26 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2013-05-06 20:51:26 (GMT)
commit8ec42ced8063d739ec6c3d656b0556c3aafbc395 (patch)
tree39c0e72f6d25b16ee346b15d698a8cd26702733a /test/unregister.c
parent8f3aee85de3d7202e82379647f8411258e7321fb (diff)
downloadhdf5-8ec42ced8063d739ec6c3d656b0556c3aafbc395.zip
hdf5-8ec42ced8063d739ec6c3d656b0556c3aafbc395.tar.gz
hdf5-8ec42ced8063d739ec6c3d656b0556c3aafbc395.tar.bz2
[svn-r23675] Issue 8380 - H5Zunregister caused seg fault. This is the followup commit. Quincey
reviewed my previous commit and suggested me to use H5I_iterate to iterate through all opened objects in H5Z_unregister. I changed it in this commit. Tested with h5committest.
Diffstat (limited to 'test/unregister.c')
-rw-r--r--test/unregister.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/unregister.c b/test/unregister.c
index 88f4d1b..297035d 100644
--- a/test/unregister.c
+++ b/test/unregister.c
@@ -145,7 +145,6 @@ test_unregister_filters(hid_t my_fapl)
goto error;
} /* end if */
-
/* Close the group */
if(H5Gclose(gid) < 0) goto error;
@@ -176,7 +175,6 @@ test_unregister_filters(hid_t my_fapl)
goto error;
/* Unregister the filter before closing the dataset. It should fail */
- /*if(H5Zunregister(H5Z_FILTER_DUMMY) < 0) goto error;*/
H5E_BEGIN_TRY {
ret = H5Zunregister(H5Z_FILTER_DUMMY);
} H5E_END_TRY;