Commit 01e84838 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

avoid accessing uninitialized data when exiting LAMMPS early

parent 734729b0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -124,6 +124,7 @@ void CommBrick::init_buffers()
  maxrecv = BUFMIN;
  memory->create(buf_recv,maxrecv,"comm:buf_recv");

  nswap = 0;
  maxswap = 6;
  allocate_swap(maxswap);