fix: shared_ptr to resource pdu was not captured in the lambda, leading to writes in unallocated space.
fix: shared_ptr to resource pdu was not captured in the lambda, leading
to writes in unallocated space.

mariusherzog/dicom,mariusherzog/dicom