diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2021-02-05 22:37:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-05 22:37:52 (GMT) |
commit | 7d2d3bed473aa853f0b2f06559c7080515a65d28 (patch) | |
tree | c59400fef7455a5afa25365bd56244ed65eb87e0 /hl | |
parent | edb1324a3aba9a297edd4b1bce7811b54c229454 (diff) | |
download | hdf5-7d2d3bed473aa853f0b2f06559c7080515a65d28.zip hdf5-7d2d3bed473aa853f0b2f06559c7080515a65d28.tar.gz hdf5-7d2d3bed473aa853f0b2f06559c7080515a65d28.tar.bz2 |
1 12 changes for sanitize=address (#314)
* OESS-98 fix tools test for plugins
* sync fork
* Merge of changes from dev
* Move problem option to bottom of the list until fixed
* HDFFV-11106 - fix parsing optional args
* HDFFV-11106 add note
* grammer fix
* Whitespace after clang formatting
* Undo format version 11 changes
* Update check to working version
* Merge workflow and minor changes from develop
* Update supported platforms
* PR#3 merge from develop
Diffstat (limited to 'hl')
-rw-r--r-- | hl/c++/examples/ptExampleFL.cpp | 2 | ||||
-rw-r--r-- | hl/test/test_file_image.c | 2 | ||||
-rw-r--r-- | hl/test/test_table.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/hl/c++/examples/ptExampleFL.cpp b/hl/c++/examples/ptExampleFL.cpp index d0b62da..3b1c655 100644 --- a/hl/c++/examples/ptExampleFL.cpp +++ b/hl/c++/examples/ptExampleFL.cpp @@ -73,7 +73,7 @@ main(void) if (err < 0) fprintf(stderr, "Error getting packet count."); - printf("Number of packets in packet table after five appends: %d\n", count); + printf("Number of packets in packet table after five appends: %llu\n", count); /* Initialize packet table's "current record" */ ptable.ResetIndex(); diff --git a/hl/test/test_file_image.c b/hl/test/test_file_image.c index 712107e..e1ee02d 100644 --- a/hl/test/test_file_image.c +++ b/hl/test/test_file_image.c @@ -506,6 +506,8 @@ test_file_image(size_t open_images, size_t nflags, unsigned *flags) } /* end for */ /* release temporary working buffers */ + for (i = 0; i < open_images; i++) + HDfree(filename[i]); HDfree(filename); HDfree(file_id); HDfree(dset_id); diff --git a/hl/test/test_table.c b/hl/test/test_table.c index 2f98f4a..d7f68e4 100644 --- a/hl/test/test_table.c +++ b/hl/test/test_table.c @@ -1272,7 +1272,7 @@ test_table(hid_t fid, int do_write) /* write the new longitude and latitude information to all the records */ nfields = 2; start = 0; - nrecords = NRECORDS; + nrecords = NRECORDS_ADD; if (H5TBwrite_fields_index(fid, "table12", nfields, field_index_pos, start, nrecords, sizeof(position_t), field_offset_pos, field_sizes_pos, position_in) < 0) goto out; |