Merge "libsync: Fix a double-free."