Fixed database replication source iterator memory leak