Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue #216 "canardMemFree must provide size" #233

Open
wants to merge 5 commits into
base: v4
Choose a base branch
from

Conversation

serges147
Copy link
Contributor

@serges147 serges147 commented Nov 14, 2024

  • Extended CanardTxQueueItem with extra allocated_size field to remember original size allocated for the item (and its embedded payload).
  • Extended CanardRxTransfer with extra allocated_size field to report to the client original size allocated for the payload buffer (which is normally equal to session extent).

- Extended `CanardTxQueueItem` with extra `allocatd_size` field to remember original size allocated for the item (and its embedded payload).
- For RX pipeline we always know what was allocated for a payload - it's always equal to session `extent`.
@serges147 serges147 self-assigned this Nov 14, 2024
@serges147 serges147 added this to the v4.0 milestone Nov 14, 2024
Copy link

sonarcloud bot commented Nov 15, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant