[GHC] #9806: malloc and mallocArray ignore Storable alignment requirements
GHC
ghc-devs at haskell.org
Sun Feb 8 16:01:07 UTC 2015
#9806: malloc and mallocArray ignore Storable alignment requirements
-------------------------------------+-------------------------------------
Reporter: ekmett | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 7.12.1
Component: Core Libraries | Version: 7.8.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Blocked By: | Test Case:
Related Tickets: #8627 | Blocking:
| Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by carter):
I'd like to point out that the posix standard SPECIFICALLY specifies that
`free` is the function that must be used to deallocate `posix_memalign`
allocated memory
http://pubs.opengroup.org/onlinepubs/009695399/functions/posix_memalign.html
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9806#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list