SDAG: Don't free a stored message until it's dead
authorPhil Miller <mille121@illinois.edu>
Mon, 7 Mar 2011 01:54:16 +0000 (19:54 -0600)
committerPhil Miller <mille121@illinois.edu>
Mon, 7 Mar 2011 02:32:36 +0000 (20:32 -0600)
commitecb54ce5aed7600d781b25780130b1b060788bcb
tree4cee3367fdc07bad77c73f8b9bd38edb258daef6
parentee115d91fdd26781f3454375ea91ae67a52c4dc1
SDAG: Don't free a stored message until it's dead

Commit 8f693c5af40eb40733a750b5802ab5f292b4288f added message
reference count increment/decrement calls to SDAG to enable marking
the targets in a 'when' clause as [nokeep]. However, it freed the
messages after the first SDAG statement in the body of the when,
rather than the last. This error was found in the course of Charm LU
development.
src/xlat-i/sdag/CSdagConstruct.C