Hi,
I noticed the NumericVar's pos_var and neg_var are not free_var()'d at the end of accum_sum_final().
The potential memory leak seems small, since the function is called only once per sum() per worker (and from a few more places), but maybe they should be free'd anyways for correctness?
/Joel