| 103af891 | 30-Jan-2014 |
Jed Brown <jed@jedbrown.org> |
PetscFreeAlign: avoid unshifting NULL
When malloc has poor alignment and memalign is not available, PetscMallocAlign shifts to retain alignment, tucking the actual offset into a hidden variable. It
PetscFreeAlign: avoid unshifting NULL
When malloc has poor alignment and memalign is not available, PetscMallocAlign shifts to retain alignment, tucking the actual offset into a hidden variable. It must be safe to pass NULL.
Reported-by: Matthew G. Knepley <knepley@gmail.com>
show more ...
|