summaryrefslogtreecommitdiffstats
path: root/src/H5FL.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-11 22:35:08 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-11 22:35:08 (GMT)
commit4d245ec8566f7bd91ff48caec6ff86bea3cebf78 (patch)
treefa5f5ab9c00ab4415c2d71c9b1ef8c7afb0236de /src/H5FL.c
parentdbdeacb7ad50b51094ebf11e13a6f3b3f91af63b (diff)
downloadhdf5-4d245ec8566f7bd91ff48caec6ff86bea3cebf78.zip
hdf5-4d245ec8566f7bd91ff48caec6ff86bea3cebf78.tar.gz
hdf5-4d245ec8566f7bd91ff48caec6ff86bea3cebf78.tar.bz2
[svn-r3993] Purpose:
Bug fix for Pablo integration Description: Several API functions were using FUNC_ENTER, without using FUNC_LEAVE, HRETURN or HRETURN_ERROR to leave the function. (Using "plain" 'return' statements instead). Solution: Changed return statements to FUNC_LEAVE, HRETURN or HRETURN_ERROR, as appropriate. Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5FL.c')
-rw-r--r--src/H5FL.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5FL.c b/src/H5FL.c
index e5c104b..1b1cae5 100644
--- a/src/H5FL.c
+++ b/src/H5FL.c
@@ -1132,7 +1132,8 @@ H5FL_arr_free(H5FL_arr_head_t *head, void *obj)
H5MM_xfree(obj);
#else /* NO_ARR_FREE_LISTS */
/* The H5MM_xfree code allows obj to null */
- if (!obj) return (NULL);
+ if (!obj)
+ HRETURN (NULL);
/* Double check parameters */
assert(head);