Refs #100892 fix compareAction to forget scheduled event when not rescheduling it
Refs #100892 remove extra call to SyncCopyName(cb) in call to add_update_name() which already copies its name parameter.  Fixes memory leak.
Refs #100892 Fix memory leaks of charbufs in sync_api.c
Refs #100892 Fix memory leaks for diff data and charbufs in sync_diff.c
Refs #100898  Add a regression test for this problem.
Refs #100898  Fix use-after-free problem

The reason this was happening is that two events could get
scheduled for the same ie, but there is only one slot to
keep track of it.  The fix cancels the interlopers.  There
may be a better way to deal with this, but it ought to be
a rare event.
refs #100892 Merge remote branch 'origin/100892-ccnsyncwatch-reference-free-memory'

* origin/100892-ccnsyncwatch-reference-free-memory:
  Refs #100892 Fix memory leaks for diff data and charbufs in sync_diff.c
  Refs #100892 Fix memory leaks of charbufs in sync_api.c
  Refs #100892 remove extra call to SyncCopyName(cb) in call to add_update_name() which already copies its name parameter.  Fixes memory leak.
  Refs #100892 fix compareAction to forget scheduled event when not rescheduling it
refs #100898 Merge remote branch 'origin/100898-ccnd-use-after-free'

* origin/100898-ccnd-use-after-free:
  Refs #100898  Fix use-after-free problem
  Refs #100898  Add a regression test for this problem.
Refs #100898 Correct test_local_tcp to not rely on bash as default shell
Refs #100898 Reorder code in test_local_tcp to avoid race condition
refs #100898 Merge remote branch 'origin/100898-ccnd-use-after-free'

* origin/100898-ccnd-use-after-free:
  Refs #100898 Reorder code in test_local_tcp to avoid race condition
  Refs #100898 Correct test_local_tcp to not rely on bash as default shell