ONEWAY: Fix use of stack-allocated variable outside its scope.
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 26 Nov 2018 01:47:45 +0000 (17:47 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 26 Nov 2018 01:47:45 +0000 (17:47 -0800)
commitc9d098309d97db3b0b66c194f0d2bbdebf2c70c0
tree80e504495e6086d4c7956acd2b2a82aa64415918
parent4e5149c53389133b2ef0c751f1684691fcdeb5d8
ONEWAY: Fix use of stack-allocated variable outside its scope.

The 'payload' object is a kind of class and should be allocated statically.

Found by Address Sanitizer.
src/language/stats/oneway.c