Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/run_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ jobs:
$sudo meson install -C builddir

- name: Rebuild the shared library cache
if: startsWith(matrix.os, 'ubuntu')
run: sudo ldconfig
if: startsWith(matrix.os, 'ubuntu')
run: sudo ldconfig

- name: Run unit tests
# Don't run tests for private copy of Check
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* much faster read of files with an EOT but no FGS [pcram-techcyte]
* add `dcm_filehandle_get_frame_number()` [jcupitt]
* add DICOM catenation support [jcupitt]
* fix GCC compiler warning [bgilbert]

## 1.1.0, 28/3/24

Expand Down
2 changes: 1 addition & 1 deletion tests/check_dicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ START_TEST(test_element_CS_multivalue_empty)
uint32_t vm = 0;

// since malloc(0) can be NULL on some platforms
char **values = malloc(1);
char **values = malloc(sizeof(char *));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooops!


DcmElement *element = dcm_element_create(NULL, tag, DCM_VR_CS);
(void) dcm_element_set_value_string_multi(NULL, element, values, vm, true);
Expand Down
Loading