[
https://issues.apache.org/jira/browse/DISPATCH-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17468585#comment-17468585
]
Jiri Daněk commented on DISPATCH-2277:
--------------------------------------
This change is beneficial even if Windows is not to be supported. However, not
supporting Windows makes this change hard to enforce and maintain (Linux will
permit a free() for aligned memory).
> Use _aligned_malloc/_aligned_free on Windows; these _must_ be used in pair
> --------------------------------------------------------------------------
>
> Key: DISPATCH-2277
> URL: https://issues.apache.org/jira/browse/DISPATCH-2277
> Project: Qpid Dispatch
> Issue Type: Sub-task
> Affects Versions: 1.17.0
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Major
> Fix For: 1.19.0
>
>
> Create a special free macro for aligned heap-allocated memory. On Windows,
> _aligned_malloc must be paired with _aligned_free.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]