summaryrefslogtreecommitdiffstats
path: root/mpi/mpi.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-18 20:11:55 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-18 20:11:55 -0700
commit4a5b6f32a7a38a700f42848877d3719b73452dcb (patch)
tree13b708a26dfd586dfcf580c6f5d7a941a0a03742 /mpi/mpi.c
parentfd6324c9b82117399bc7cfa189f26c5fc615141c (diff)
downloadtxr-4a5b6f32a7a38a700f42848877d3719b73452dcb.tar.gz
txr-4a5b6f32a7a38a700f42848877d3719b73452dcb.tar.bz2
txr-4a5b6f32a7a38a700f42848877d3719b73452dcb.zip
ffi: carray-free resets length.
* ffi.c (carray_free): Don't just reset the pointer to null, but also set the number of elements to zero. That will prevent indexing operations from dereferencing null.
Diffstat (limited to 'mpi/mpi.c')
0 files changed, 0 insertions, 0 deletions