Only set *memptr when success for posix_memalign
commit058c263f6bd41ffa18328e0ff60d25d3a028f975
authorKito Cheng <kito.cheng@gmail.com>
Thu, 23 Feb 2017 09:16:28 +0000 (23 17:16 +0800)
committerWaldemar Brodkorb <wbx@openadk.org>
Sat, 25 Feb 2017 01:41:28 +0000 (25 02:41 +0100)
treea2fe4d2b0a063a3886b87f0825c31d2041e7fd1e
parentdeccf064840d9719bc5b022fe7ffaf9b9c2147da
Only set *memptr when success for posix_memalign
libc/stdlib/posix_memalign.c