diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-28 05:23:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2017-02-28 05:23:44 (GMT) |
commit | e5fb4191de1129f58cc7b9b8ee67f4cec1488f39 (patch) | |
tree | c6151b0582ef769f95549bc1c231fb3609408733 /test/cache_api.c | |
parent | fd268dca96ea76ef0ec4425434502343ee2055d7 (diff) | |
download | hdf5-e5fb4191de1129f58cc7b9b8ee67f4cec1488f39.zip hdf5-e5fb4191de1129f58cc7b9b8ee67f4cec1488f39.tar.gz hdf5-e5fb4191de1129f58cc7b9b8ee67f4cec1488f39.tar.bz2 |
Revert "Fix some more signed -> unsigned value issues with cache data structures, also"
This reverts commit 4b5e05c084f93c35dae946c2c9e814d565a613b0.
Diffstat (limited to 'test/cache_api.c')
-rw-r--r-- | test/cache_api.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/test/cache_api.c b/test/cache_api.c index 6c43796..a0d6e83 100644 --- a/test/cache_api.c +++ b/test/cache_api.c @@ -2314,12 +2314,19 @@ main(void) nerrs += 1; } - if(invalid_configs ) + if ( invalid_configs ) { + HDfree(invalid_configs); + } + + if ( nerrs > 0 ) { - if(nerrs > 0) return EXIT_FAILURE; - else + + } else { + return EXIT_SUCCESS; + } + } /* main() */ |