BUG: SyncRecord mismatched delete[].

Detected by valgrind.
Merge pull request #230 from thewtex/delete-syncrecord

BUG: SyncRecord mismatched delete[].