fixed memory leak in BCFSyncedReader.